by Gerhard Schmidbauer » Mon Aug 31, 2015 10:37 am
I use a timer and check if a special file is there. If the file is found, I close down my app. To increase acceptance of kicking out customers I display a warning, change the background color and play a sound. If the customers don't get out after 5 minutes the app is shut down.
If I need to do some work where no one must be using my app I simple copy the special file in the EXE directory, get me some coffee and wait for the time to elapse.
HTH
Gerhard
Gerhard Schmidbauer
URANUS Software GmbH
Germany