|
-
Jan 5th, 2004, 02:07 AM
#1
Thread Starter
Fanatic Member
Enabling & Disabling Hardware Devices
Hi,
Ever since I have got my new computer, my USB keyboard has failed to start up every now and again when my computer boots. It happens about 1/5th of the time so its enough to start getting me annoyed.
The only way to fix it is to go into device manager, using the mouse, disable the keyboard and re-enable it. This fixes it straight away.
I am just wondering if it is possible, somehow, using Visual Basic that there would be some code to detect if a certain device is in a current state and if so, disable it, wait a few seconds then enable it again.
Can this be done in visual basic? if it can, is it too hard to get help on here?
Thanks very much
-
Jan 5th, 2004, 02:22 AM
#2
Just un-plug it then plug it back in.
You probably have a problem with your USB ports.
-
Jan 6th, 2004, 09:17 AM
#3
Thread Starter
Fanatic Member
that wasn't my question... i dont want help with the problem thanks, i just need help coding my program. ill try not to mention my problem if i do a thread like this again
-
Aug 26th, 2005, 01:42 PM
#4
New Member
Re: Enabling & Disabling Hardware Devices
Microsoft has an app called devcon it can enable/disable and show status of all devices I make a frontend to do things like you want but in my case I disable all usb ports and CDRoms for the other users cant have access
-
Aug 27th, 2005, 03:02 AM
#5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|