Hi guys, I can detect key strokes using the keydown function, but this only works when the form has focus, I am after a way to detect all keystrokes despite what program has the focus, can any one help?
Printable View
Hi guys, I can detect key strokes using the keydown function, but this only works when the form has focus, I am after a way to detect all keystrokes despite what program has the focus, can any one help?
There was a thread about this somewhere, global hot keys. You can search for it. Though, I doubt you'll understand it, I didn't xD
Found it http://www.vbforums.com/showthread.p...42#post2729342
You wouldn't use hot keys unless you were listening for a specific key or key combination. If you want to detect all key strokes then you will need to set a keyboard hooking. There are also examples of that posted on the forum. If you search the VB.NET forum and the VB.NET CodeBank forum you should find them.