|
-
Feb 24th, 2002, 02:53 PM
#1
Thread Starter
New Member
disable alt ctrl del in windows 2000/XP
How do you disable alt ctrl del in windows 2000
and windows XP. The API calls that disable alt
ctrl del in windows 9X dont't work with 2000/Xp.
Please help me so that I can finish my project.
Thank you,
Noah
-
Feb 24th, 2002, 04:00 PM
#2
Use the Query_Unload Mode of your main form.[Highlight=VB]Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
'there are 5 unloadmode levels
Select Case UnloadMode
Case vbFormControlMenu 'UnloadMode 0
'form is being unloaded via the Close
'command from the System menu or
'the X button on the form
Cancel = -1
Case vbFormCode 'UnloadMode 1
'Unload Me has been issued from code
Case vbAppWindows 'UnloadMode 2
'Windows itself is closing
Case vbAppTaskManager 'UnloadMode 3
'the Task Manager is closing the app
Case vbFormMDIForm 'UnloadMod 4
'an MDI child form is closing because
'its parent form is closing
End Select
End Sub
-
Feb 24th, 2002, 06:38 PM
#3
Monday Morning Lunatic
You can't disable Ctrl-Alt-Delete in NT.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Feb 25th, 2002, 05:18 AM
#4
Frenzied Member
VB Code:
With Soldering_Iron
.RemoveKey "DELETE"
End With
There is no VB way of disabling the CTRL+ALT+DEL combination and this is for a very good reason....why do you want to do this? There may be another less drastic measuer to take...
HTH,
Duncan
-
Feb 25th, 2002, 12:07 PM
#5
Monday Morning Lunatic
Originally posted by MerrionComputin
There is no VB way of disabling the CTRL+ALT+DEL combination and this is for a very good reason....why do you want to do this? There may be another less drastic measuer to take...
There's no C++, Pascal, Assembler, Befunge, etc., way of doing it.
Whatever happens, NT gets Ctrl-Alt-Delete first.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Feb 25th, 2002, 06:29 PM
#6
Thread Starter
New Member
What I need to do
I need to disable or hide my program from the task manger so that it can not be bypassed by the user. I creating a program that can help limt what people can do on public computer termials. For example prevent them from messing with settings.
Last edited by calble; Feb 25th, 2002 at 08:38 PM.
-
Feb 26th, 2002, 05:37 AM
#7
Frenzied Member
This is already possible through Windows NT user management (System Tools - > User Manager).
Set up a new group and restrict its rights then add the low rights users to that group.
HTH,
Duncan
-
Oct 2nd, 2002, 04:22 PM
#8
Addicted Member
It CAN be blocked with C++, My friend gave me a program he made and it blocked it succesfully, He wouldnt tell me how it was done exactly but he said he 'remapped the keys'.
If anyone has any idea on how to do this then please say!!
I will try to find his program to show you...
-
Oct 2nd, 2002, 06:44 PM
#9
Frenzied Member
Well...
What about registering the prog as a service?
doesnt that work lol
:::`DISCLAIMER`:::
Do NOT take anything i have posted to be truthful in any way, shape or form.
Thank You!
--------------------------------
"Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
"Finaly I can look as gay as I want..." - NoteMe
Languages: VB6, BASIC, Java, C#. C++
-
Oct 2nd, 2002, 07:28 PM
#10
Monday Morning Lunatic
Originally posted by Neilbaker86
It CAN be blocked with C++, My friend gave me a program he made and it blocked it succesfully, He wouldnt tell me how it was done exactly but he said he 'remapped the keys'.
If anyone has any idea on how to do this then please say!!
I will try to find his program to show you...
Not under NT you can't...you have to replace gina.dll which I think someone mentioned before...
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 2nd, 2002, 09:13 PM
#11
Stuck in the 80s
Re: disable alt ctrl del in windows 2000/XP
Originally posted by calble
disable alt ctrl del in windows 2000/XP
Ahh, the age-old debate. Might as well stick a fork in her, sparky, because she's done!
-
Oct 3rd, 2002, 04:04 AM
#12
PowerPoster
You can disable the task list though.
-
Oct 3rd, 2002, 06:49 AM
#13
PowerPoster
Theres a thread to do with this in General VB. Take the link, and at the bottom, it has a method of doing it on NT. But its extremely risky.. involving some keyboard mapping, if I'm correct.
I think I have an example of how to block the Ctrl + Alt + Del in xp.. but its done by changing something in the Registry..
-
Oct 3rd, 2002, 06:51 AM
#14
-
Oct 3rd, 2002, 07:51 AM
#15
PowerPoster
Pc_Madness
Or anyone who uses this code in W2K.
Just check whether this code disables and enables shutdown and restart options in the start menu correctly.
-
Oct 3rd, 2002, 09:03 PM
#16
PowerPoster
???
That example enables and disables the Alt+ctl+Del.
lol, I think I know what you did....
-
Oct 4th, 2002, 01:55 AM
#17
PowerPoster
Pc_Madness What according to you could have gone wrong?
The problem seems to have occured in W2K Pro edition.
-
Oct 4th, 2002, 05:53 AM
#18
PowerPoster
The example I posted disables the Alt+Ctrl+Del by editing the a registry key.
When you run the program the first time - tick some boxes, etc, those things are disabled. Close the app - There still disabled. I did it to myself, scared the **** out of myself when I could get my Alt+Ctrl+Del back... but then I ran it again, and checked some boxes and things started working again.
Although I had alot of trouble adding the code to my app...
-
Oct 4th, 2002, 06:08 AM
#19
PowerPoster
I know how to use it. Actually, I am the author of the code at PSC. Someon had a problem with W2K PRO version, that's why I was asking you.
Anyways, what trouble did you have integrating it in your code?
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
|