Message Box

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?
 
D

Douglas J. Steele

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.
 
M

Mike

How can we put a timer on a form? I think this will serve
me as well.

Thanks,

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top