Another way is
Put this declaration under "Public Class Form1"
[php]
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As UShort
[/php]
Then in a timer add this:
[php]
Dim HOTKEY as Boolean = GetAsyncKeyState(Keys.F5) 'sets F5 as your hotkey'
If HOTKEY = True
'do whatever'
End If
[/php]