Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make Access msgbox pop up infront of active window

Status
Not open for further replies.

dontay

Programmer
Jan 22, 2003
49
US
Hi,
I'm trying to make a reminder access application. My problem is that when access is minimized the msgbox pops up behind the opened window and not infront of it Like I want it to. I'm trying to keep access minimized in the task bar and have it send out a msgbox that pops up infront of everything on the desktop.
Any ideas?
Don
 
Don,
You might try setting vbSystemModal. This will suspend all other applications on the computer until the user responds to the msgbox. I'm pretty sure that a systemmodal msgbox will always be on top of everything else.

Your code will be something like:

intResponse = MsgBox("The prompt message.",vbYesNoCancel + vbCritical + vbSystemModal, "Title Bar Text",....etc)

Tranman
 
Thanks Tranman that solves my problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top