Quote:
>..how i do in NT 4.0 (VB4 or VB5) for disabling CTRL-ALT-DEL, ALT-TAB
>etc. ?
I know this works on Windows 98 in VB6; let me know if it works for you.
There may be a better way. As you can see this call is specifically
designed for screen savers.
' Definitions
Public Const SPI_SCREENSAVERRUNNING = 97&
Declare Function SystemParametersInfo Lib "user32" Alias
"SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long,
lpvParam As Any, ByVal fuWinIni As Long) As Long
' Disable
SystemParametersInfo SPI_SCREENSAVERRUNNING, 1&, 0&, 0&
' Reenable
SystemParametersInfo SPI_SCREENSAVERRUNNING, 0&, 0&, 0&