How do i trap all the keystrokes interpreted by the system from a TSR in VB using Keyhooks. Basically i want to know how to remove the prog from the Alt+Tab cycle and to set up the hook for trapping keystrokes?
Printable View
How do i trap all the keystrokes interpreted by the system from a TSR in VB using Keyhooks. Basically i want to know how to remove the prog from the Alt+Tab cycle and to set up the hook for trapping keystrokes?
I think without a small peace of c++ source thats not possible in vb.
(I found no way to create systemwide hooks in vb). If you want to have the c++ source for a dll that helps vb to create a systemwide hook then send your email adress to: [email protected]
(My sample uses vb6 and vc5)
vbaccelerator.com has a good article and source code for using hooks in VB. He also talks about capturing key strokes so you may want to give it a look.