Results 1 to 2 of 2

Thread: Help blocking Ctrl-Alt-Del

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    546

    Help blocking Ctrl-Alt-Del

    I'm trying to figure out how to disable ctrl-alt-delete. I tried this code:

    On Error GoTo exitsub
    AppActivate "Windows Task Manager"
    thesendkeys = "%{F4}"
    SendKeys (thesendkeys)
    Exit Sub
    exitsub:
    Exit Sub

    But it sometimes doesnt work. Does anyone know the name for the delete key...like WM_DELETE or something, because I was thinking of setting a hotkey that is ctrl-alt-delete, and when you pust it it sends keys to windows taskmanager "%{F4}". Anyways please help.

  2. #2
    Giants World Champs!!!! Mark Gambo's Avatar
    Join Date
    Sep 2003
    Location
    Colorado
    Posts
    2,965

    Re: Help blocking Ctrl-Alt-Del

    Quote Originally Posted by JBD2
    I'm trying to figure out how to disable ctrl-alt-delete. I tried this code:

    On Error GoTo exitsub
    AppActivate "Windows Task Manager"
    thesendkeys = "%{F4}"
    SendKeys (thesendkeys)
    Exit Sub
    exitsub:
    Exit Sub

    But it sometimes doesnt work. Does anyone know the name for the delete key...like WM_DELETE or something, because I was thinking of setting a hotkey that is ctrl-alt-delete, and when you pust it it sends keys to windows taskmanager "%{F4}". Anyways please help.

    Take a look at these:

    http://www.experts-exchange.com/Prog..._21444794.html

    http://vbforums.com/showthread.php?t...k+Ctrl-Alt-Del

    http://vbforums.com/showpost.php?p=1172064&postcount=3

    http://vbforums.com/showpost.php?p=529401&postcount=3
    Regards,

    Mark

    Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width