|
-
Jan 17th, 2000, 02:04 AM
#1
Thread Starter
Lively Member
I am creating a password program for use in windows and I was wondering if there is any way of disabling the Ctrl ALT DEL checking in windows?
Thanks!
My code is below:
Private Sub cmdEnter_Click()
If Text1.Text = "letmein" Then
End
Do While Text1.Text <> "letmein"
Loop
End If
End Sub
Private Sub cmdRetry_Click()
Text1.Text = ""
End Sub
-
Jan 17th, 2000, 03:01 AM
#2
-
Jan 17th, 2000, 11:06 PM
#3
PowerPoster
Yes, you should really update your code...
Anyway here's how to disable CTRL-ALT-DEL:
Code:
'Into Module
Private Declare Function SystemParametersInfo Lib "user32" 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 Temp As Long
Temp = SystemParametersInfo(97, bDisabled, CStr(1), 0)
End Sub
'While Form_Load
DisableCtrlAltDelete True
------------------
[email protected]
...
Every program can be reduced to one instruction which doesn't work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|