Detecting Up, down, right, left arrow keys, how?

  • Thread starter Thread starter Robert Dufour
  • Start date Start date
R

Robert Dufour

In Vs 2005 Vb.Net How do you detcet the arrow keys, the function keys, the
Ctrl Key, The shift key, the PrintScreen key, scroll lock key NumLock key. I
know how to detect the keys that return ascii chararcters but these do not
seem to. So how do youn detect when they have been pressed?

Thanks for any help

Bob
 
Robert Dufour said:
In Vs 2005 Vb.Net How do you detcet the arrow keys, the function
keys, the Ctrl Key, The shift key, the PrintScreen key, scroll lock
key NumLock key. I know how to detect the keys that return ascii
chararcters but these do not seem to. So how do youn detect when
they have been pressed?

Thanks for any help

Handle the KeyDown event.

The PrintScreen key is a system key that does not generate a KeyDown event.


Armin
 
Back
Top