Stewart531
Programmer
I'm having trouble disabling Control+Alt+Delete. I have seen some sample code on the web that all looks similar to this:
Private Const SPI_SCREENSAVERRUNNING = 97&
Private Declare Function SystemParametersInfo Lib "User32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long
Dim lReturnCode As Long
Dim bOld As Boolean
lReturnCode = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, bOld, 0&)
For some reason, this code doesn't work for me. Anyone know why or have any suggestions? Thanks.
-Dave
Private Const SPI_SCREENSAVERRUNNING = 97&
Private Declare Function SystemParametersInfo Lib "User32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long
Dim lReturnCode As Long
Dim bOld As Boolean
lReturnCode = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, bOld, 0&)
For some reason, this code doesn't work for me. Anyone know why or have any suggestions? Thanks.
-Dave