Havenangle
11-20-2008, 02:31 PM
Heres a TUT for making hotkeys in vb2008.
First: Make a new Project.
Second: Double Click Your Form and them get to the codeing screen.
Third: Click On the "Form1" Drop down button and change it to "Form1 Events."
http://i532.photobucket.com/albums/ee325/havenangle/VB2008.jpg
Fourth: Click The Right drop Down button and click "KeyDown"
http://i532.photobucket.com/albums/ee325/havenangle/Keydown.jpg
Fifth: Now heres the Real codeing part.
Put in this code: (Example Code)
If e.KeyCode = Keys.A Then
Timer1.Enabled = True
End If
If e.KeyCode = Keys.B Then
Timer1.Enabled = False
End If
http://i532.photobucket.com/albums/ee325/havenangle/VB2008Key.jpg
I hope this was helpful to you, please Thank Me or something :P
First: Make a new Project.
Second: Double Click Your Form and them get to the codeing screen.
Third: Click On the "Form1" Drop down button and change it to "Form1 Events."
http://i532.photobucket.com/albums/ee325/havenangle/VB2008.jpg
Fourth: Click The Right drop Down button and click "KeyDown"
http://i532.photobucket.com/albums/ee325/havenangle/Keydown.jpg
Fifth: Now heres the Real codeing part.
Put in this code: (Example Code)
If e.KeyCode = Keys.A Then
Timer1.Enabled = True
End If
If e.KeyCode = Keys.B Then
Timer1.Enabled = False
End If
http://i532.photobucket.com/albums/ee325/havenangle/VB2008Key.jpg
I hope this was helpful to you, please Thank Me or something :P