VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Disable CTRL + ALT + DEL on Windows XP

by Angsuman Banerji (23 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 4th January 2008
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Disable CTRL + ALT + DEL on Windows XP

API Declarations


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


Rate Disable CTRL + ALT + DEL on Windows XP



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


Download this snippet    Add to My Saved Code

Disable CTRL + ALT + DEL on Windows XP Comments

No comments have been posted about Disable CTRL + ALT + DEL on Windows XP. Why not be the first to post a comment about Disable CTRL + ALT + DEL on Windows XP.

Post your comment

Subject:
Message:
0/1000 characters