Click here to Skip to main content
16,018,534 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
What is the code to disable Ctrl+Esc keys combination in C# or VB.Net which should work on Windows XP. Please Help, Its very urgent. Please send the solution(Code) at: [Email address removed]
Thanx With Regards:rose:,
Md Manazir
Posted
Updated 27-Oct-10 6:23am
v3
Comments
Henry Minute 27-Oct-10 10:43am    
It is very unwise to publish your Email in a public forum like this, unless you really, really like spam. People can contact you, as I am doing, with any answers. If you insist on having your Email visible then please edit your question and replace it.

Code Project Archive[^] to the rescue!
 
Share this answer
 
If you just want this to apply to your application then you can handle the KeyDown or KeyPress event of your form, search on MSDN for examples, there are plenty of them. Not forgetting to set the KeyPreview of your Form.

For wider use you will need to hook into Windows' keyboard handling.
This[^] might help with that.
 
Share this answer
 

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