[TUT] Hotkeys VB 2008/2010
Heeeeey!
Welcome to my tutorial!
You will need:
A timer
------------------------------------
First we will declare
-------------------------------------
Secound we will Add a timer! And these properties :
-------------------------------------
Third, add this code to the timer:
I take no creddz for this....
Welcome to my tutorial!
You will need:
A timer
------------------------------------
First we will declare
Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
-------------------------------------
Secound we will Add a timer! And these properties :
Code:
Timer1.interval = 10, timer1.enabled = true
Third, add this code to the timer:
Code:
Dim Hotkeyss As Boolean
Hotkeyss = GetAsyncKeyState(Keys.F10)
If Hotkeyss = True Then
YOUR CODE HERE
End If




Reported you for a year old bump.