Click to See Complete Forum and Search --> : alt+ctl+delete


SAKYA
April 30th, 2001, 06:09 AM
can someone tell me how to disable Alt+Ctl+Delete? i m using "Windows NT ".
Thanks in advance for any reply.

Clearcode
April 30th, 2001, 06:49 AM
You could try installing a low level keyboard hook (WH_KEYBOARD_LL).
The EventVB project at http://www.merrioncomputing.com/Download/index.htm has a wrapper for this hook which you could use and there is also a code sample you could use there.

HTH,
Duncan

-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com

TimCottee
April 30th, 2001, 08:04 AM
You cannot block alt+ctrl+delete on Windows NT. Even using a low-level keyboard hook doesn't work. NT traps this key combination before the event handler gets it and automatically handles it. The only way that you could do anything about it would be to write your own GINA dll which receives this event from the O/S however this is an extremely complex task as the GINA controls a hell of a lot of stuff as well as handling Ctrl+Alt+delete.

cksiow
May 9th, 2001, 09:54 PM
I am not sure whether you solve the problem or not, but if you not, refer http://vblib.virtualave.net. I post a solution in there.

coolbiz
May 10th, 2001, 08:53 AM
Just wondering if this really works with CTRL+ALT+DEL keys combination. If NT allows this, then I think it is pretty big loop-hole as I can write a desktop simulation and get the UserName/Password of other users by simulating the Logon Screen. Don't you think?

Just wondering,
-Cool Bizs

Clearcode
February 18th, 2002, 02:33 PM
I have found that NT does NOT allow you to trap CTRL+ALT+DEL in this (or any other VB way).

Which is a good thing...

-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com/EventVB/Overview.htm - Flatten the API learning curve