<System.Runtime.InteropServices.DllImportAttribute("user32.dll")>Depois no timer!Private Shared Function GetAsyncKeyState(ByVal vkey As System.Windows.Forms.Keys) As Short
End Function
Dim Hotkey As Boolean
Hotkey = GetAsyncKeyState(Keys.F6)
If Hotkey = True Then
'Sua função !
End If

Comentários