G
Guest
Is there any way to close open message boxes programmatically before forcing
a database to quit?
Thanks in advance
Dave
a database to quit?
Thanks in advance
Dave
Ofer Cohen said:You can create a Form that looks like a message box, open it with the
message, and use the form timer to close it.
check this link on how to create a form that can replace a message box
http://www.applecore99.com/dld/dld002.asp
Dave said:Replacing all of Access's notifications along with all the existing custom
message boxes with custom made forms would be a fairly large task. I just
want a hidden form to check for any system messages and close them before
forcing a shut down. At the moment, system messages left open during a
forced
shutdown are creating lost instances of Access which can only be
terminated
in Task Manager.
Keith Wilby said:No offence Dave but I have to say I'm at a loss to imagine a scenario where
a message box would pop up without user-interaction. Perhaps you could
elaborate on the circumstances and someone might be able to suggest a
workaround. Maybe it's a question of educating users about the perils of
leaving their machine with a message box unchecked.
Regards,
Keith.
www.keithwilby.com
Dave said:they will wander off without clicking 'Yes', 'No' or
'Cancel' when a prompt is on the screen. They've been instructed to
address
all such prompts, but it's still a requirement that the system checks for
these message boxes first before forcing a shutdown.
Hopefully someone has a good solution.
paddyIE said:Dave,
Do a search in this forum for "inactivity". You will see three postings for