Resources » Code Snippets » Active Directory

How to Disable CTRL + ALT + DEL on Windows XP

Updated: Category: Active Directory
Author: Member Level: GoldPoints: 10

This article helps about How to Disable CTRL + ALT + DEL on Windows XP with code snippet

Disable CTRL + ALT + DEL on Windows XP

cbSize As Long
hWnd As Long
uId As Long
uFlags As Long
ucallbackMessage As Long
hIcon As Long
szTip As String * 64
End Type
Private Const NIM_DELETE = &H2
Private Declare Function Shell_NotifyIcon Lib "shell32" Alias "Shell_NotifyIconA" (ByVal dwMessage As Long, pnid As NOTIFYICONDATA) As Boolean
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long

Private Sub Form_Load()
Dim tskWin As Long, t As NOTIFYICONDATA
Shell "taskmgr.exe", vbHide
Do Until tskWin <> 0
tskWin = FindWindow("#32770", "Windows Task Manager")
t.hWnd = tskWin
Shell_NotifyIcon NIM_DELETE, t
End Sub

Did you like this resource? Share it with your friends and show your love!

Responses to "How to Disable CTRL + ALT + DEL on Windows XP"
Author: ashok joshi  30 Dec 2008   Member Level: Bronze   Points : 0
how to execute this code


Post Comment:

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)

    Type the numbers and letters shown on the left.

    Submit Article     Return to Article Index
    Subscribe to Subscribers
    Active Members
    TodayLast 7 Daysmore...

    Awards & Gifts
    Talk to Webmaster Tony John

    Online Members

    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India