this isn't disabling the ctrl alt del function like its supposed to.is it beause i have win2k if not pleez help![]()
VB Code:
Private Sub Form_Load() Call EnableTaskKeys(False) End Sub
heres the module
VB Code:
Private 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 Public Sub EnableTaskKeys(Enabled As Boolean) If Enabled = False Then SystemParametersInfo SPI_SCREENSAVERRUNNING, 1&, 0&, 0 Else SystemParametersInfo SPI_SCREENSAVERRUNNING, 0&, 0&, 0 End If End Sub





Reply With Quote