Click here to Skip to main content
15,900,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to run a Window Form application(.exe) with a keyboard shortcut combination. Please help me. how to implement this.
please share some idea so that i can do this.

thanks in advance
Posted
Updated 20-Aug-12 1:06am
v2

1 solution

I am not sure there's any sort of hotkeys functionality in Windows, in which case, you would need to write some sort of system wide hook to catch the keypress and run your app. Any code in your app will not run, until the app runs, clearly

This[^] is what you need.
 
Share this answer
 
v2
Comments
pradeep rasara 20-Aug-12 7:09am    
Actually we have a feature to hide the application from desktop, program files.......
now i want to run that application with hotkeys(or shortcut keys). pleas help me.........
Christian Graus 20-Aug-12 7:12am    
Oh, that's easier. I do believe in that case, your application can set shortcut keys, but it may need a system wide hook if your app does not have focus. I found a link, I'm editing my post so if you mark it as the answer, it will be easy for other people to use, too
pradeep rasara 20-Aug-12 7:58am    
Lets suppose i have install a application on a system(e.g abc.exe). Now i want to run (abc .exe)that application with the help of hotkey(short key) . This is my real problem. how i will do this.
Christian Graus 20-Aug-12 8:02am    
You said it would always be running. I gave you a link to do that. If you want to START it, then I suggest starting it hidden. Otherwise you need a system wide hook to do that.
pradeep rasara 21-Aug-12 1:23am    
Actaully, i want to implement sysytem wide hook ,to do that.....please help me if u have any link regarding this.........please provide me......

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900