|
-
Oct 29th, 2000, 04:50 PM
#1
Thread Starter
New Member
All of the API code snippets I've found that disable Alt-Ctrl-Delete also disable the screen saver! Is there a way to disable ACD w/o disabling the screen saver as well???
-
Oct 29th, 2000, 05:55 PM
#2
Member
This works fine for me:
Option Explicit
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 x As Long
x = SystemParametersInfo(97, bDisabled, CStr(1), 0)
End Sub
Usage:
to disable:
DisableCtrlAltDelete True
to enable:
DisableCtrlAltDelete False
Tadej
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
|