>Hi,
>my application requires an exclusive access to some of the tables for critical updates and no users should be in the system at that time. Some of my users keep forgetting to leave and keep the appliaction active on their PC.
>Is there a way to put timer or something to close an application after some time of inactivity?
>Thanks
>Jerry
I use a timer that checks every to minutes for a file called "maintenance.tmp". If the file exists, the application quits. Also: on startup, if the file exists, the user gets an appropriate error message, and the applicatino quits.
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)