Hi i'm making a program with VB 6.0 and i want the program to detect when the user presses the control key.
Code:
Private Sub Form_KeyDown(KeyCode As Integer, shift As Integer)
If KeyCode = vbKeyControl then .....
I found that code online but it doesnt seem to work.
can anyone offer a pointer in the right direction