Disable ALT + F4 in VBScript
Posted on 2008-11-06
I am currently working on a project to update all of the public access machines for a local authority. At the moment there is a mixture of configurations, lockdowns and applications all stuck together in a massive workgroup. The plan is to provide a consistent environment throughout the city on all machines.
To prevent the public being given passwords the staff member in charge will log the users onto a workstation via a central machine.
As part of the login process users have to agree to our terms and conditions, if they do not agree the session will end and the user logged off. If they press agree they are able to access the desktop.
As it currently stands I have developed an HTA page that runs in full screen blocking the desktop from view.
The only problem is that users are able to close the window using ALT F4 or get past it using the Windows Key.
Is there a way in Visual Basic to prevent these actions just for the HTA page?