-
November 8th, 2004, 11:11 PM
#1
Doing CTRL-ALT-DEL
Hi guys,
Within Visual Basic, how do I send "CTRL-ALT-DEL"? All I want to do is bring up the Windows Security box, but SendKeys doesn't permit the combination...
Any code appreciated!
Best wishes,
Mark
-
November 9th, 2004, 10:33 AM
#2
Re: Doing CTRL-ALT-DEL
you cant. ctrl+alt+del is protected for reasons of security.
-
November 9th, 2004, 10:35 AM
#3
Re: Doing CTRL-ALT-DEL
actually.. that said, a program called VNC that is used to operate a computer remotely, over a network, has a menu option "Send CTRL ALT DEL" which causes the remote machine to display the options box. i think they may have used a low level keyboard hook of some kind though..
-
November 9th, 2004, 10:45 AM
#4
Re: Doing CTRL-ALT-DEL
did a bit of research and it seems that ctrl+alt+delete is actually a special combination that, though some specific wiring in the keyboard, causes an interrupt to be generated on the cpu with a specific code. windows handles this interrupt and shows the security screen. how you would emulate this interrupt yourself, i do not know. might be good if you told us WHY you want to do this
-
November 9th, 2004, 10:49 PM
#5
Re: Doing CTRL-ALT-DEL
Terminal Services doesn't allow me to do a CTRL-ALT-DEL 'across the wire'. The key combination activates the local terminal's security box.
I've tried fiddling with the settings of terminal services client but (thus far) to no avail. Of course, I might be missing something horribly basic - let me know if I am!
If there was an icon on the remote server's desktop that I run which "sends" CTRL-ALT-DEL that would be very useful!
Mark
-
November 9th, 2004, 10:55 PM
#6
Re: Doing CTRL-ALT-DEL
Although, come to think of it, any program doesn't have to "send" CTRL-ALT-DEL, it merely has to invoke the "Windows Security" box. If it is known how to invoke that box, who cares about CTRL-ALT-DEL!
Mark
-
November 10th, 2004, 06:20 AM
#7
Re: Doing CTRL-ALT-DEL
re; terminal services
i read that you use Ctrl+Alt+End when using TS, if you want the security box to appear on the remote machine. Ctrl+Alt+Del triggers the local one
I also recall reading on microsoft web site that the key combination is AltGr+Del to trigger the remote box (when under ts)
-
November 10th, 2004, 06:56 AM
#8
Re: Doing CTRL-ALT-DEL
Although it doesn't work for me it seems that there is a way to trigger the "Windows Security" box. Have a look at http://www.codeproject.com/system/al...rol_delete.asp. (it's in VC++)
If you just want to call the Task Manager than it's simple 'cause you can use Shell to execute taskmgr.exe from windows\system32.
You liked it? Please show your gratitude and rate it!
There is no 'patch' for stupidity.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|