Loading ...
Sorry, an error occurred while loading the content.

[Fwd: Re: [libertybasic] Re: Access to Utility Functions]

Expand Messages
  • Doyle Whisenant
    ... Found them and converted to LB for you. I will attach the file. Just uncomment the line you want to run. -- Doyle Whisenant
    Message 1 of 2 , Jan 4, 2004
    • 0 Attachment
      Doyle Whisenant wrote:
      > mrcatilina wrote:
      >
      >>
      >> There were also some other RunDLL functions that would be nice
      >> for them to have access to (Control Panel), and others.
      >
      >
      > I have seen a reference to at least 10-15 of these somewhere amongst my
      > literaly 1000's of files. I have searched for this but so far haven't
      > located it. When I do, I'll post it. Just hang in there. ;-)
      >
      > IIRC they are pretty easy to use.

      Found them and converted to LB for you. I will attach the file. Just
      uncomment the line you want to run.

      --
      Doyle Whisenant
      http://www.freewebs.com/mekdesign/
      "mechanic" at "sonet" dot "net"

      ----------


      'OpenMouseDlg (0)
      'OpenKeyboardDlg (0)
      'OpenDisplayDlg (0)
      'OpenDialingDlg (0)
      'OpenSystemDialog (0)
      'OpenScannerDlg (0)
      'OpenAddRemoveProgramsDlg (0)
      'OpenPowerMgmtDlg (0)
      'OpenPasswordsDlg (0)
      'OpenModemDlg (0)
      'OpenMMDeviceDlg (0)
      'OpenGamesDlg (0)
      'OpenRegionalDlg (0)
      'OpenInternetDlg (0)
      'OpenUsersDlg (0)

      'OpenPrintersFolder ()
      'OpenFontsFolder ()
      'OpenTimeDlg ()
      'OpenAddNewHardwareDlg ()
      'OpenThemesDlg ()
      'OpenSoundsDlg ()
      'OpenTweakUIDlg ()

      nomainwin

      'run mouse dialog
      'run "rundll32.exe shell32.dll,Control_RunDLL main.cpl @0,OpenMouseDlg"

      'run OpenKeyboardDlg dialog
      'run "rundll32.exe shell32.dll,Control_RunDLL main.cpl @1,OpenKeyboardDlg"

      'run OpenPrintersFolder
      'run "rundll32.exe shell32.dll,Control_RunDLL main.cpl @2"

      'run OpenFontsFolder
      'run "rundll32.exe shell32.dll,Control_RunDLL main.cpl @3"

      'run OpenDisplayDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL desk.cpl @0, OpenDisplayDlg"

      'run OpenTimeDlg
      'run "rundll32.exe shell32.dll,Control_RunDLL timedate.cpl @0,OpenTimeDlg"

      'run OpenDialingDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL telephon.cpl @0,OpenDialingDlg"

      'run OpenSystemDialog(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @0, OpenSystemDialog"

      'run OpenAddNewHardwareDlg
      'run "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @1"

      'run OpenScannerDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL sticpl.cpl @0"

      'run OpenThemesDlg
      'run "rundll32.exe shell32.dll,Control_RunDLL themes.cpl @0"

      'run OpenAddRemoveProgramsDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl @0, OpenAddRemoveProgramsDlg"

      'run OpenPowerMgmtDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl @0, OpenPowerMgmtDlg"

      'run OpenPasswordsDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL password.cpl @0, OpenPasswordsDlg"

      'run OpenMMDeviceDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl @0, OpenMMDeviceDlg"

      'run OpenSoundsDlg
      'run "rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl @1, OpenSoundsDlg"

      'run OpenGamesDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL joy.cpl @0, OpenGamesDlg"

      'run OpenRegionalDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL intl.cpl @0, OpenRegionalDlg"

      'run OpenInternetDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl @0, OpenInternetDlg"

      'run OpenUsersDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl @1, OpenUsersDlg"

      ' The next two don't work on Win98 (at least on my system)

      'run OpenModemDlg(Index)
      'run "rundll32.exe shell32.dll,Control_RunDLL modem.cpl @0, OpenModemDlg"

      'run OpenTweakUIDlg
      'run "rundll32.exe shell32.dll,Control_RunDLL tweakui.cpl @0"




      [Non-text portions of this message have been removed]
    • mrcatilina
      Thanks Doyle. That s exactly what I was looking for. Thanks again !!! ... amongst my ... haven t ... Just ... @0,OpenMouseDlg ... @1,OpenKeyboardDlg ...
      Message 2 of 2 , Jan 4, 2004
      • 0 Attachment
        Thanks Doyle.

        That's exactly what I was looking for.

        Thanks again !!!




        --- In libertybasic@yahoogroups.com, Doyle Whisenant <mechanic@s...>
        wrote:
        > Doyle Whisenant wrote:
        > > mrcatilina wrote:
        > >
        > >>
        > >> There were also some other RunDLL functions that would be nice
        > >> for them to have access to (Control Panel), and others.
        > >
        > >
        > > I have seen a reference to at least 10-15 of these somewhere
        amongst my
        > > literaly 1000's of files. I have searched for this but so far
        haven't
        > > located it. When I do, I'll post it. Just hang in there. ;-)
        > >
        > > IIRC they are pretty easy to use.
        >
        > Found them and converted to LB for you. I will attach the file.
        Just
        > uncomment the line you want to run.
        >
        > --
        > Doyle Whisenant
        > http://www.freewebs.com/mekdesign/
        > "mechanic" at "sonet" dot "net"
        >
        > ----------
        >
        >
        > 'OpenMouseDlg (0)
        > 'OpenKeyboardDlg (0)
        > 'OpenDisplayDlg (0)
        > 'OpenDialingDlg (0)
        > 'OpenSystemDialog (0)
        > 'OpenScannerDlg (0)
        > 'OpenAddRemoveProgramsDlg (0)
        > 'OpenPowerMgmtDlg (0)
        > 'OpenPasswordsDlg (0)
        > 'OpenModemDlg (0)
        > 'OpenMMDeviceDlg (0)
        > 'OpenGamesDlg (0)
        > 'OpenRegionalDlg (0)
        > 'OpenInternetDlg (0)
        > 'OpenUsersDlg (0)
        >
        > 'OpenPrintersFolder ()
        > 'OpenFontsFolder ()
        > 'OpenTimeDlg ()
        > 'OpenAddNewHardwareDlg ()
        > 'OpenThemesDlg ()
        > 'OpenSoundsDlg ()
        > 'OpenTweakUIDlg ()
        >
        > nomainwin
        >
        > 'run mouse dialog
        > 'run "rundll32.exe shell32.dll,Control_RunDLL main.cpl
        @0,OpenMouseDlg"
        >
        > 'run OpenKeyboardDlg dialog
        > 'run "rundll32.exe shell32.dll,Control_RunDLL main.cpl
        @1,OpenKeyboardDlg"
        >
        > 'run OpenPrintersFolder
        > 'run "rundll32.exe shell32.dll,Control_RunDLL main.cpl @2"
        >
        > 'run OpenFontsFolder
        > 'run "rundll32.exe shell32.dll,Control_RunDLL main.cpl @3"
        >
        > 'run OpenDisplayDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL desk.cpl @0,
        OpenDisplayDlg"
        >
        > 'run OpenTimeDlg
        > 'run "rundll32.exe shell32.dll,Control_RunDLL timedate.cpl
        @0,OpenTimeDlg"
        >
        > 'run OpenDialingDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL telephon.cpl
        @0,OpenDialingDlg"
        >
        > 'run OpenSystemDialog(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @0,
        OpenSystemDialog"
        >
        > 'run OpenAddNewHardwareDlg
        > 'run "rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @1"
        >
        > 'run OpenScannerDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL sticpl.cpl @0"
        >
        > 'run OpenThemesDlg
        > 'run "rundll32.exe shell32.dll,Control_RunDLL themes.cpl @0"
        >
        > 'run OpenAddRemoveProgramsDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl @0,
        OpenAddRemoveProgramsDlg"
        >
        > 'run OpenPowerMgmtDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL powercfg.cpl @0,
        OpenPowerMgmtDlg"
        >
        > 'run OpenPasswordsDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL password.cpl @0,
        OpenPasswordsDlg"
        >
        > 'run OpenMMDeviceDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl @0,
        OpenMMDeviceDlg"
        >
        > 'run OpenSoundsDlg
        > 'run "rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl @1,
        OpenSoundsDlg"
        >
        > 'run OpenGamesDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL joy.cpl @0,
        OpenGamesDlg"
        >
        > 'run OpenRegionalDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL intl.cpl @0,
        OpenRegionalDlg"
        >
        > 'run OpenInternetDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl @0,
        OpenInternetDlg"
        >
        > 'run OpenUsersDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL inetcpl.cpl @1,
        OpenUsersDlg"
        >
        > ' The next two don't work on Win98 (at least on my system)
        >
        > 'run OpenModemDlg(Index)
        > 'run "rundll32.exe shell32.dll,Control_RunDLL modem.cpl @0,
        OpenModemDlg"
        >
        > 'run OpenTweakUIDlg
        > 'run "rundll32.exe shell32.dll,Control_RunDLL tweakui.cpl @0"
        >
        >
        >
        >
        > [Non-text portions of this message have been removed]
      Your message has been successfully submitted and would be delivered to recipients shortly.