How add hotkey to Start And Stop
What is the code to add hotkey to a button
Like a hotkey to start and other to stop.
Can someone help me please?
Like a hotkey to start and other to stop.
Can someone help me please?


Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
KeyPreview = True
'The KeyUp/KeyDown event will not work if any controls are on the form unless KeyPreview is True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles D3D.Tick
If GetAsyncKeyState(Keys.Right) Then //blah your stuff here
End Sub
Private Property result As Short
Private Declare Function GetAsyncKeyState Lib "User32" (ByVal vKey As Integer) As Short
Private Property result As Short
Private Declare Function GetAsyncKeyState Lib "User32" (ByVal vKey As Integer) As Short

ok wait
If GetAsyncKeyState(Keys.F1) Then if feature = 0 //code for your hack here feature = feature + 1 //feature++ Else //code to turn of your hack feature = feature - 1 //feature--

