• Log in or sign up for an account here: https://www.sythe.org/login

Need VB6 Hotkeys

  • Thread starter Thread starter Teizhcial
  • Start date Start date
T

Teizhcial

Guest
if anyone knows the code for VB6 hotkeys it would be greatly appreciated
-.- I know this question may seem n00bish but I need alot of hoykey bugfixes
 
useless....

this is an example of CTRL + T:
Add this to your form:
Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vbKey As Long) As Integer

Add this to a timer with an interval of at most 1000:
Code:
if GetAsyncKeyState(vbKeyCtrl) And GetAsyncKeyState(vbKeyT) then
    msgbox "yay"
end if
 
also you can use a user control called mclhotkey, its a control you drag onto a form, you can set the properties just like any other control (example, you can set ctrl, shift, alt, and windows logo to true or false and then change the main hotkey). This is the one i use for all of my projects.

link is here: http://home.wanadoo.nl/dynamiel/mclhotkey/MCLHotkey.ocx

Once you download the file, paste it into C:\WINDOWS\system32. Press Windows Logo Key + R and type "regsvr32 mclhotkey.ocx" into the box, then click ok.

To use it, open up your VB project, right click on the toolbox and click components, then click "System Wide Hotkey".
 
Runescape Gamblingrunescape gambling
Back
Top