Keyboard Events in VB ?
Posted on 2008-10-23
I am trying to create a very simple keyboard test app for non-standard keyboard and just can't get going...
I would like to change the colour of a form panel when a corresponding key is pressed.
e.g. create PanelA and change the backcolour to red while key "A" is pressed and green when released.
I have managed to do this with a button using the button text "&A" on the button but this will cause problems as half the keys on the non-standard keyboard are combinations, ie ALT+A, ALT+B etc.
i have some code, but as it may be completely wrong/misleading i have not posted it here.
If anyone could help me start off with just one or two keys i'm sure i can take it from there and it will be apreciated, thanks