|
-
January 3rd, 2000, 01:45 PM
#1
disabling ctrl+alt+delete
Anyone know how to disable the ctrl+alt+delete keystroke in a visual basic program? Would be a big help - thanks
Best Regards
-
January 11th, 2000, 02:04 PM
#2
Re: disabling ctrl+alt+delete
Try it:
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Private Sub Form_Unload(Cancel As Integer)
Call RegisterServiceProcess(0&, 0&)
End Sub
Private Sub Form_Load()
Call RegisterServiceProcess(0&, 1)
End Sub
Best Regards.
[email protected]
http://vbcode.webhostme.com/
-
January 11th, 2000, 02:22 PM
#3
Re: disabling ctrl+alt+delete
I've given it a try, but I have a question. This seems keep the program from being listed in the Close Program dialog box that results from ctrl+alt+del (is that right?). I was wondering if there was a way to disable the keystroke so that pressing it didn't bring up the Close Program dialog at all. Help?
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
|