|
Help with Keycodes!
HEY WHAT UP EEVERYBODY
Im new programming and i'm making a Helpful Trainer for a game well this is my problem:
I want to if the person who uses my application presses f8 then the cheat is on/off well this is the only thing i could do
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If currentKeys(KeyCode) = False Then
currentKeys(KeyCode) = True
If KeyCode = vbKeyF8 Then '
End If
End Sub
but it only works when the form is selected but if im not in the form it doesnt work what should i do so i can make my trainer work while the user is playing and press the key f8
|