|
-
Apr 23rd, 2000, 01:19 PM
#1
Thread Starter
Member
How can I disable alt-ctrl-del so the 'close program' dialog it won't come up while my program is running.
-
Apr 28th, 2000, 03:12 AM
#2
Member
Try to use below posted code, and please let me know if
it would help you.
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 DisableCtrlAltDel(bDisabled As Boolean)
Dim X As Long
X = SystemParametersInfo(97, bDisabled, CStr(1), 0)
End Sub
'to disable
Call DisableCtrlAltDel(True)
'to enable
Call DisableCtrlAltDel(False)
-
Apr 28th, 2000, 12:19 PM
#3
Conquistador
search vb world for "Disable"
it will then show you the article??
or some rtcles, u can chuse!
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
|