Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 263
  • Last Modified:

Ctrl + alt + del

Hi, i really really need to know how to disable Ctrl + Alt + del in Win 9x,2000,XP & NT

Any ideas?
0
beauvoir2
Asked:
beauvoir2
1 Solution
 
PhilzVBCommented:
Hi,

There's a pretty simple method of doing this - all you have to do is tell windows that a screen saver is running and that Ctl+Alt+Del (and Alt+Tab) shouldn't work...

This can be done using a few api.



Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long
Private Const SPI_SCREENSAVERRUNNING = 97

Sub Enable_TaskView()
'enables Ctrl+Alt+Del and Alt-Tab
    Dim eTask As Integer
    Dim junk As Boolean
   
    eTask = SystemParametersInfo(SPI_SCREENSAVERRUNNING, False, junk, 0)
End Sub

Sub Disable_TaskView()
'Disables Ctrl+Alt+Del and Alt-Tab
    Dim dTask As Integer

    Dim junk As Boolean
   
    dTask = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, junk, 0)
End Sub
0
 
JyCommented:
App.TaskVisible = False 'this stops your program from showing up on ctrl+alt+del
'and with 1 line of code
0
 
JyCommented:
App.TaskVisible = False 'this stops your program from showing up on ctrl+alt+del
'and with 1 line of code
0
 
CleanupPingCommented:
Hi beauvoir2,
This old question (QID 20567391) needs to be finalized -- accept an answer, split points, or get a refund.  Please see http://www.cityofangels.com/Experts/Closing.htm for information and options.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now