I have a program that I want to run on the local computers. I want the administrator to be the only one with the password capable of exiting the program. Right now though, it can be closed via ctrl-alt-delete.
Is there a way to have that wait to see if the user enters the correct password, and if they don't then cancel the exiting of the program? I already have it setup for password verification through normal exit, and I also entered the same code in the form_unload procedure so it would be executed when the program was being exited through ctrl-alt-del. I just need to know how to keep windows from exiting the program until it can be properly verified.
Anyone know? -Ovatvvon :-Q
Is there a way to have that wait to see if the user enters the correct password, and if they don't then cancel the exiting of the program? I already have it setup for password verification through normal exit, and I also entered the same code in the form_unload procedure so it would be executed when the program was being exited through ctrl-alt-del. I just need to know how to keep windows from exiting the program until it can be properly verified.
Anyone know? -Ovatvvon :-Q