[Help]Hotkeys
yes.. aggain
[PHP]Private Sub Hotkeys_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Hotkey.Tick
Dim hotkey1 As Boolean
hotkey1 = GetAsyncKeyState(Keys.F5)
If hotkey1 = True Then
Hotkey.Start()
Dim hotkey2 As Boolean
hotkey2 = GetAsyncKeyState(Keys.F6)
If hotkey2 = True Then
Hotkey.Stop()
End If
End If
End Sub[/PHP]
when i press f6 timer1 (hotkey) doesn't stop! WHY?


[PHP]Private Sub Hotkeys_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Hotkey.Tick
Dim hotkey1 As Boolean
hotkey1 = GetAsyncKeyState(Keys.F5)
If hotkey1 = True Then
Hotkey.Start()
Dim hotkey2 As Boolean
hotkey2 = GetAsyncKeyState(Keys.F6)
If hotkey2 = True Then
Hotkey.Stop()
End If
End If
End Sub[/PHP]
when i press f6 timer1 (hotkey) doesn't stop! WHY?





_woman.jpg[/IMG]