Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
How do I detect keystrokes?
Name: Doug52392 Date: July 23, 2007 at 11:28:07 Pacific OS: Windows Vista home premiu CPU/Ram: Pentium D/1gb ram Product: Gateway GT5428
Comment:
Hello, I am writing a program with Microsoft Visual Basic 2005 that detects certain keystrokes (eg. Ctrl+F1), returns the value of the keystroke, and preforms a certain action based on that value. I can detect them fine when the form with the code is open, but I cant figure out how to get the program to work when another program has focus (and the form is minimized). How do I get the program to detect keystrokes when it is mimimized or does not have focus?
Name: Razor2.3 Date: July 23, 2007 at 17:56:21 Pacific
Reply:
You use Direct Input to scan the keystrokes as they come in, or you hook the keyboard drivers to intercept any key presses before the Windows kernel reads them. I don't believe either of these can be done with VB.NET.
Summary: How do I create a Hotkey with bat, and how can I access the Boot-up files so I could add a Keylogger to them so when it boots up, the Keylogger will run and records the keys pressed. Could you suggest...
Summary: MY PACKERBELL STATES THAT I NEED (BLINDWAR.EXE URL: Q PROTOCOL) HOW DO I DOWN LOAD THIS FROM THE INTER NET TO MAKE MY COMPUTER READ MY CDROM ...
Summary: Hello. I have close to three years' experience with html/javascript/asp/vbscript/perl. So all of my experience to date has been through browsers. For an upcoming project, I will need to use Visualbasi...