How can I disable alt-ctrl-del so the 'close program' dialog it won't come up while my program is running.
Printable View
How can I disable alt-ctrl-del so the 'close program' dialog it won't come up while my program is running.
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)
search vb world for "Disable"
it will then show you the article??
or some rtcles, u can chuse!