Message Box

  • Thread starter Thread starter Elaine
  • Start date Start date
E

Elaine

My program is set on a timer to periodically check to see
if the database is scheduled to be shut down for
maintenance. If it is a message box pops up and tells
the it is scheduled to be shut down. The problem I'm
running into is if the user has left his computer and
application on and left for the evening ( or worse yet
the weekend) the program will stop executing until the
user returns and closed their application. How can I
keep the application running to automatically quit the
application so I can close the database to all users
untill I have completed my maintenance?
 
Rather than popping up a message box (which, as you've discovered, requires
user input), create your own form that you can pop up as modally. Put a
timer on that form, and after a fixed amount of time (10 min?), close down
the form and get on with your routine.
 
Back
Top