?
Solved

Ctrl + alt + del

Posted on 2003-03-29
5
Medium Priority
?
255 Views
Last Modified: 2010-05-01
Hi, i really really need to know how to disable Ctrl + Alt + del in Win 9x,2000,XP & NT

Any ideas?
0
Comment
Question by:beauvoir2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 3

Expert Comment

by:Barca
ID: 8230567
0
 

Accepted Solution

by:
PhilzVB earned 100 total points
ID: 8232887
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
 

Expert Comment

by:Jy
ID: 8247056
App.TaskVisible = False 'this stops your program from showing up on ctrl+alt+del
'and with 1 line of code
0
 

Expert Comment

by:Jy
ID: 8247058
App.TaskVisible = False 'this stops your program from showing up on ctrl+alt+del
'and with 1 line of code
0
 

Expert Comment

by:CleanupPing
ID: 8531365
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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question