-
So far I've only been asking a lot of questions but I hope that I'll one day be able to answer some questions instead.
I asked a while ago how I could get a program to notice when you press a key no matter which program is active and that worked great, now I want to know if there's any way to activate the numlock when a program starts (that's probably the best way) or if anyone knows how to make a program catch the clicks without having the numlock active ??
(Would prefer the first method but it would be fun to see the solution to #2 as well)
Thx for the help yesterday and for whatever help I'll get today.
-
Have al
-
Try this.
Make a Form with a Timer and set it's Interval to 1.
Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private Sub Timer1_Timer()
'If NumLock is pressed then Beep
If GetAsyncKeyState(vbKeyNumlock) Then Beep
End Sub