dyous87
October 27th, 2008, 04:13 AM
Hello everyone,
I have a questions that maybe someone on these forums would be able to help me with.
I am writing a simple application for a client of mine that needs to launch on startup when a user logs into there workstations. The purpose of this application is to gather some information and then publish it to a database before giving the user the ability to use the computer.
The application is for Windows XP workstations and needs to be unavoidable in that the user cannot use the computer at all before completing the request.
The way I have done it so far is by creating an .hta application (an html application that can be run locally as an executable in Windows). I have the .hta launching in full screen without any maximize or minimize buttons.
What I need to know now is if there is anyway in Javascript to be able to disable certain buttons on the keyboard that would give the user the ability to exit or minimize this application. Examples are: the alt-f4 combo or the windows key. If I could somehow add some type of Javascript code to my html that would disable these buttons it would allow me to make the application unavoidable.
I hope I made this clear and I thank you very much in advance for your help.
David :)
I have a questions that maybe someone on these forums would be able to help me with.
I am writing a simple application for a client of mine that needs to launch on startup when a user logs into there workstations. The purpose of this application is to gather some information and then publish it to a database before giving the user the ability to use the computer.
The application is for Windows XP workstations and needs to be unavoidable in that the user cannot use the computer at all before completing the request.
The way I have done it so far is by creating an .hta application (an html application that can be run locally as an executable in Windows). I have the .hta launching in full screen without any maximize or minimize buttons.
What I need to know now is if there is anyway in Javascript to be able to disable certain buttons on the keyboard that would give the user the ability to exit or minimize this application. Examples are: the alt-f4 combo or the windows key. If I could somehow add some type of Javascript code to my html that would disable these buttons it would allow me to make the application unavoidable.
I hope I made this clear and I thank you very much in advance for your help.
David :)