• Advertisement

Archived

This topic is now archived and is closed to further replies.

Visual Basic - disabling ALT+CTRL+DEL

This topic is 5133 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I can''t seem to disable ALT+CTRL+DEL...anybody know the code? I''ve tried some code I saw online, but nothing worked...I was thinkning that the code might be different for Windows XP...if anyone can help...great... Thanks feshMANIA hey how you doin''''?

Share this post


Link to post
Share on other sites
Advertisement
I could be wrong but I wouldn''t have thought it would be possible to disable CTRL+ALT+DEL under an NT based operating system.

I thought the operating system intercepted the CTRL+ALT+DEL key sequence, to make sure that people can''t just write programs that look like the login box for the purpose of stealing passwords.

Why would you want to disable it anyway?

Share this post


Link to post
Share on other sites
I could be wrong here, and I''m sure someone more knowledgable will correct me, but I think you''d need to write a service or driver for something like that (on an NT based OS anyway).

Share this post


Link to post
Share on other sites
Why do you need another password protect? What''s the point?
NT (XP) already does that for you. It seems pointless. o_O

Log in to the computer as a "crippled" user who doesn''t have
administrative priviledge (so he can''t run task manager or
other fun things) with your program running.

The whole idea of disabling Ctrl-Alt-Del is just WRONG .



Kami no Itte ga ore ni zettai naru!

Share this post


Link to post
Share on other sites
Removing CTL+ALT+DEL is very usefull... Say you are writing a program or shell for a company that lets users brows the web or play a game but not have any access to the rest of the computer. Like if I wanted to allow walk up visitors to browse my wesite from terminal. I would want to dissable CTL+ALT+DEL. That would be the first thing somone would try. And then maybe ALT+F4.

Anyway, my point is I have seen it done and Its a reasonable problem. I dont know how to do it myself, but keep looking...

Share this post


Link to post
Share on other sites
umm, you can using the win32api



Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long



Public Sub DisableCRTL_ALT_DEL()
Dim ret As Integer
Dim pOld As Boolean
ret = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, pOld, 0)
End Sub

Share this post


Link to post
Share on other sites

  • Advertisement