how to add a hotkey in VB

Status
Not open for further replies.

adi007

Youngling
Is there any way to add a hotkey to some actions in a VB..
for example in case of webshots ctrl+alt+w will change the wall paper..
is there any method to do so in VB program..
Note that i have not asked how to add shorcut key-->it's easy.
 

QwertyManiac

Commander in Chief
The example at the following link looks clear, however I have not tried it yet, will do so later.

*www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/Registered_Hotkeys/article.asp
 
OP
A

adi007

Youngling
it's for VB6 i presume....
i will try it but there are huge chances that it will not work in VB2008..coz there is drastic change from VB6 to present VB...
Thanks for the link:D

It would be helpful if someone finds the way to add hotkey in case of VB2008
 
Status
Not open for further replies.
Top Bottom