You can catch the Ctl-Alt-Del sequence in Win95/98 by telling the OS that your app is a screen saver (these versions of windows allow password-protected screen savers, thus if your prog is a screen saver, Ctl-Alt-Del and Alt-Tab won't work to switch to another task). If you are running WinNT, I believe you're out of luck.

Here is the code and API call used to trap Ctl-Alt-Del is as follows (borrowed from James Limm)

Copy this code into the declarations section of a module:
Code:
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
Then, in your code, to disable Ctrl-Alt-Delete:
Code:
Call DisableCtrlAltDelete(True)
To enable Ctrl-Alt-Delete:
Code:
Call DisableCtrlAltDelete(False)
Hope that helps

~seaweed