Dear all friend,
I want disable Ctl+Alt+Del; Ctrl+Esc; Ctrl+tab, Alt+Tab, Start button, ctrl+Alt+Del, lock all keys on the keyboard. Have you ever do it in C#.
Help me.
Thanks for all reply.
10 8530
Dear all friend,
I want disable Ctl+Alt+Del; Ctrl+Esc; Ctrl+tab, Alt+Tab, Start button, ctrl+Alt+Del, lock all keys on the keyboard. Have you ever do it in C#.
Help me.
Thanks for all reply.
on the keydown event
do something like - private void frmWorkshopJobs_KeyDown(object sender, KeyEventArgs e)
-
{
-
if (e.Control == true)
-
{
-
if (e.KeyData == Keys.Escape)
-
e.Handled = true;
-
}
-
}
do that for each scenario you want to cover.
however certain keystrokes which are handled by the OS even before you cannot be stopped (like ctrl + Alt + del, windows button, etc)
cheers
mzmishra 390
Recognized Expert Contributor
This article can help you also
http://forums.microsof t.com/MSDN/ShowPost.aspx?P ostID=2143470&S iteID=1
I have just used the link http://forums.microsof t.com/MSDN/ShowPost.aspx?P ostID=2143470&S iteID=1,
it 's very helpful, but that example can't disable Ctrl+Alt+Del; Alt+tab; and Alt+Esc.
I'm researching this. If you know more, please show me.
Thanks.
Plater 7,872
Recognized Expert Expert
Ctrl+alt+del is supposed to be hardware level (supposed to be...) and isn't supposed to be able to be trapped.
However, there is somewhere where you can "replace" the taskmanager with something else (possibly even nothing?). How I dunno, but I've seen it done.
Can you help me to disable Ctrl+Alt+Del, Alt+tab, Alt+Esc by C#.
Thanks
Ctrl+alt+del is supposed to be hardware level (supposed to be...) and isn't supposed to be able to be trapped.
However, there is somewhere where you can "replace" the taskmanager with something else (possibly even nothing?). How I dunno, but I've seen it done.
This thread does talk about that, along with 2 other options
I'm waiting for new reply, but no one answer me how to disable Ctrl+Esc; Alt+Esc; Alt+Tab by C#, and may be I have a mistake on posting, so it have double.
Very Sorry.
The link you given is pretty good.
You cannot get the exact answer. Just try you can do with that code.
Or you can get a C++ Dll to do all this things.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Greg |
last post by:
I am developing an application where I need to secure a
workstation for periods of time. I can use BlockInput to
stop users from task switching or messing with the
keyboard, but I would like to disable Ctrl-Alt-Delete.
It seems there seems to be only one real way I know
about: Write a replacement Gina Driver to eat the
keyboard events I...
|
by: Stefan |
last post by:
Hy,
a have an application and i must disable the follow
combination of keys: ALT+F4 ALT+TAB CTRL+ALT+DEL CTRL+ESC.
For ALT+F4 i can disable the conbination with:
protected override System.Boolean ProcessCmdKey(ref
System.Windows.Forms.Message msg,System.Windows.Forms.Keys
keyData)
{
|
by: Stefan |
last post by:
Hy,
i have an app and i must disable this combination: ALT+F4;
CTRL+ALT+DEL; CTRL+ESC;ALT+TAB like this:
i find something on Internet and i can block ALT+F4
protected override System.Boolean
ProcessCmdKey(ref System.Windows.Forms.Message
msg,System.Windows.Forms.Keys keyData)
|
by: |
last post by:
I want to program a application for user login in windows.Now I has some
question about disable the system hotkey(c+a+d,alt+tab,win key.etc.) and
limit the mouse cursor in winform
How can I do it?
thanks!
|
by: |
last post by:
And how to lock the mouse?
ths!
| |
by: Kevin Bilbee |
last post by:
I need to know the API call to disable the CTRL-ALT-DEL in a C# windows
form.
We have created a time clock application to run on a tablet PC to replace
the windows shell, we are going to hang it on a wall for associates to clock
in and out and check their benefits.
I will disable task manager from Domain Policies but I need to disable the...
|
by: Brad |
last post by:
Hello All,
I am working on a kiosk application for a library. I do not want users to be
able to hit Ctrl-Alt-Delete and exit the kiosk application. I did some
searching on the web but did not find much.
Is there a way to Disable Ctrl-Alt-Delete?
Thanks
Brad
|
by: AAA |
last post by:
Hi guys
how to disable the function of "ctrl alt delete"
|
by: Mark Callaway |
last post by:
Hello
I'm trying to make a little windows service which blocks access to some
other program, in order to prevent my childrens to play with some of my
games.
It works perfectly, but the weakest point, is that they can kill my
service by using the task manager.
That's why i would like to disable ctrl+alt+del.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| | |