Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If you ever use Device Manager Check this out
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01299779
Message ID:
01299782
Views:
14
Another way for "mouse" people: Right click on My Computer, Manage, Device Manager.

>My customers use several USB and serial port devices with my software and I am always tinkering with the Device Manager. It has always been a pain the You know what to walk customers through this procedure to find the Ports and USB devices installed.
>
>I did a little research and found several things that make my life easier, perhaps someone can use these also.
>
>Here are TWO ways to open Device Manager the EASY WAY!
>1) Hold down the WINDOWS Key on your Keyboard. Now Press the PAUSE / BREAK Key.
>
>
>2) Program controlled code.
>** Code to Activate Device Manager Below:
>
>LOCAL lcOpen
>
>DECLARE INTEGER ShellExecute IN shell32.dll ;
> INTEGER hndWin, STRING cAction, STRING cFileName, ;
> STRING cParams, STRING cDir, INTEGER nShowWin
>
>lcOpen = "devmgmt.msc"
>
>ShellExecute(0,"open",lcOpen,"","",1)
>
>
>
>Had to share this, made my life much easier.
>
>Don Higgins
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform