>You could add a timer which checks every 5 minutes or so for the existance of a file. If the file is there you could set the coverage on. If the file is no longer there, set the coverage off
>
>That's how I get every user out of an application. The timer checks for a folder 'Down'. If it's there I close all forms and quit. If it is there when they start the app up, the app quits
I tried the same, but I am worried about the case where the users either have open dialogs, or pending changes (which will make a dialog appear when the application tries to close the forms) - and the user is out, eating lunch for instance. Is there a way to solve this?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)