Keyboad Buffer

  • Thread starter Thread starter Muhammad Arif
  • Start date Start date
M

Muhammad Arif

Dear All,
I want to capture the keycode from keyboard buffer in VB.Net.
Actually, I want to make a TSR(Terminate And Stay Resident) utility
which continuously look at the key strocks of keyboard and as soon as
a special key combination is pressed, it will invoke a function to
perform a series of actions.
For this purpose, I need to capture the keycode at system level not at
form level. So, how can i get keycode from keyboard buffer directly?
Tell me about some API for this purpose.

Regards,
Muhammad Arif
 
Dear Alex,
If I want to use this code for Return Key and Escape key and Window
Key. What changes I would have to do in code.

Regards,
Arif
 
There are converters out there. You really need to be able to write code,
or, at the very least, understand code in C# to use VB.NET with any
effectiveness at all. Translating code from one language to another is
actually a very good way to learn the subtleties of each language.

Paul T.
 
Back
Top