Alright, you need to ATLEAST know the basics for this.
At the top, after Public Class Form# Add in this code:
Code:
Public Declare Function GetAsyncKeyState Lib "User32" (ByVal vKey As Long) As Integer
or this one if that doesn't work for you:
Code:
Public Declare Function GetAsyncKeyState Lib "User64" (ByVal vKey As Long) As Integer
Now in a timer, add this:
Code:
Dim Hotkey1 As Boolean
Hotkey1 = GetAsyncKeyState(Keys.ReplaceThisWithHotKey)
If Hotkey1 = True Then
Timer1.Enabled = True
End If
To explain the timer, so you can edit this code for your own hotkey..
Hotkey1 = String, so you can rename to whatever you want.
ReplaceThisWithHotKey = Replacing the word with the hotkey you want, VB 08 has auto complete for hotkeys.
Timer1.Enabled = True = The action it does if you press the hotkey.
Edit: Also, double click on your form and write in Timer#.Enabled = True - then replace # with whatever number timer you have.