|
-
Jun 29th, 2005, 05:03 PM
#1
Thread Starter
Fanatic Member
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.
-
Jun 29th, 2005, 05:59 PM
#2
Re: Help blocking Ctrl-Alt-Del
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|