Application message

  • Thread starter Thread starter Leif
  • Start date Start date
L

Leif

I would like to display a message to a user, even if the Access application
has been minimized. Msgbox will do this, but it's modal, it stops VBA. Is
there an application directive that will maximize the Access window via VBA?
 
I would like to display a message to a user, even if the Access application
has been minimized. Msgbox will do this, but it's modal, it stops VBA. Is
there an application directive that will maximize the Access window via VBA?

Yes, this can be done. What triggers the message? Regardless, if you
put Docmd.Restore in the Load event of a modal, popup window, it will
display while the rest of the database is minimized.
 
Thanks for the note.

What I'm trying to do is setup a mechanism to allow the administrator to
force the user off the application. I found that your suggestion works in
that it pops up a window even on a minimized Access. The problem is that the
window is behind any currently open windows.

Modal was also a problem, since I want to warning to user to log out in a
certain time period. So, I need to allow the person to shutdown forms, etc.
If the user is await from his computer, however, the system will force a
quit. However, I found the pop-up still pops up with modal No.

So, I guess my only remaining problem is to try to figure out how to display
the message on top of all open windows.

Thanks again,
Leif
 
Back
Top