eryq Level: Trainee
 Registered: 20-04-2005 Posts: 3
|
disable CRTL ALT Delete
Greetings!!!
How can i disable crtl alt del in windows xp. I try the sample in API section of this Site but it seems it will not run on XP? Below is the code I'd use...
' form is set to maximize on load
Private Sub Form_Load()
DisableCtrlAltDelete True
End Sub
Private Declare Function SystemParametersInfo Lib "user32.dll" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long
Sub DisableCtrlAltDelete(bDisabled As Boolean)
Dim x As Long
x = SystemParametersInfo(97, bDisabled, CStr(1), 0)
End Sub
And also how can i disable ALT TAB. Thanks in advance guys...
____________________________
Eryq B.
|