Cool[HELP]=Hotkeys

Posts 1–7 of 7 · Page 1 of 1
[HELP]=Hotkeys
How can I set hotkeys in the form? for example: If I press the Numpud1, then there is this thing, etc.HELP HELP me^^
Use the search button!
If GetAsyncKeyState(57) then

(57) = 9
Quote Originally Posted by Lukas59 View Post
If GetAsyncKeyState(57) then

(57) = 9
Isn´t that vb6?
under form1
Code:
Private Declare Function GetAsyncKeyState Lib "user32"(ByVal vkey As Long) As Integer
For a timer, make it start at form1.load or w/e
Code:
Dim F9 As Boolean 
F9 = GetAsyncKeyState(Keys.F9) 
If F9 = True then
'main function of your code.
You can change f9 to anything you want.
Look in the staff-selected tutorials, avenger, and the help thread is extremely useful too.
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us