473,419 Members | 4,195 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,419 software developers and data experts.

How to lock alt and control key to in c#.net for windpws application

i am doing cybercafe software. i want to cut the keycombinations and want tab to be worked.

so only option i got is to disable alt and control key so that every key combinations can be blocked and tab key works.

can anyone give me an code for above mentioned scenario in windows application in c#.net

thanks in advance
Aug 6 '10 #1
7 3439
no it doesn't suits my project

need something else please
Aug 10 '10 #3
GaryTexmo
1,501 Expert 1GB
When I read the link that fastestindian posted I tried googling the problem. It's quite complicated. It looks like you'll have to create an override for a windows dll. Control+Alt+Delete is a system level thing and it's not easy to interrupt.

First try this though....
http://tamaspiros.co.uk/2007/12/20/c...enu-and-so-on/

Perhaps you can just disable the task manager?

If that doesn't work, the name of the dll you need to look into creating is called "gina.dll".

Good luck!
Aug 10 '10 #4
I tried it
It doesn't work
Aug 10 '10 #5
GaryTexmo
1,501 Expert 1GB
You tried the registry setting and it didn't work?

Then you'll have to look into creating your own "gina.dll" I guess.
Aug 10 '10 #6
i don't want to lock key combination. i want to lock alt and control if i lock this then keycombination couldn't not work.

so can you post sample code
Aug 11 '10 #7
GaryTexmo
1,501 Expert 1GB
No, I can't because I don't know how to do it. This is something you'll have to solve on your own. If we can help, we will, but ultimately it's up to you to do your own work.

Sorry if this comes across as harsh, but the purpose of Bytes isn't to do your job for you, it's to help you to learn to do your job better and become a better developer. Just giving you the answer doesn't serve that purpose.

Please read what was posted above, dive in and give things a try. If you get bogged down, come back with specific questions.

Good luck!
Aug 11 '10 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: RF | last post by:
Before .Net if I wanted to control an application that exposed a COM interface all I needed to do was to create an object of that application and call the appropriate methods. For example a VB app...
0
by: Rudy | last post by:
Hello All, I'm hoping someone can point me in the right direction. I want to have a client application, and a server application to be able to control certain function of the client...
3
by: max | last post by:
Hi, How do I control the applcation version?? Change the Major, Minor, build and revision numbers? thanks, --max
6
by: Nou Dadoun | last post by:
I'm currently developing an application in C++/MFC (Visual Studio 6, if that makes a difference) and I'd like to avoid the Windows style UI widgets and dialogs if at all possible. In fact, what...
1
by: Matthias Kwiedor | last post by:
Hello! Is there a way in "c#" to remote control another application on the same pc running at the same time. For example Clicking on a button. The Application which should be controled is not...
5
by: Alexander Inochkin | last post by:
Hello. I have a working ASP.NET service. I am using .NET Framework 1.1; IIS V6.0. (web garden not used) When I change web.config file or load new *.dll, my service restarts, and about 90...
1
by: GAZ | last post by:
Hello all, We have a bit of a problem with application settings and user control. In short, we have developed a user control that should, as it happenes, get a value stored in application...
3
by: laststubborn | last post by:
Dear Memebers, I have a critical problem. I have an application is running on 64 bit machine. It used to be running on 32 bit machine. That application is using a Stored Procedure that uses...
1
by: APA | last post by:
In the Application_Start event I load several static variables with data from the database that are critical to the execution of the application. My question is that during app start if a second...
1
by: ganeshvkl | last post by:
hi Is it possible for set up password for control Panel. and drives Thanx in Adv Regards ganesh
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.