Sometimes there is a need to "protect" the user from itself and not allow him to quit your application.
These kind of applications are called kiosk applications.
There are three things you should do to create a kiosk application:
These kind of applications are called kiosk applications.
There are three things you should do to create a kiosk application:
- The application should be full screen so the user will not be able to reach the Today menu.
- Override the hardware buttons functionality.
- Put a shortcut for your application under \Windows\StartUp
- Use FormLib.FullScreen method.
- Use the updated Hardware library. Read the keys values from the registry and catch all the keys.
- This can be done in the installation package.
You need to change line 144 of the SetupBuilder from:
if chkShortCut.Checked = true then FileWrite(c,AppName & ",0," & lstFiles.Item(e) & ",%CE11%")
to:
if chkShortCut.Checked = true then FileWrite(c,AppName & ",0," & lstFiles.Item(e) & ",%CE4%")
This will create the shortcut under \Windows\StartUp instead of \Windows\Programs
Attachments
Last edited: