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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

message box hides form

Status
Not open for further replies.

mordyb

Programmer
Nov 9, 2003
9
hi all,

I have an app that I am working on. When I use a msgbox vb hides the form that was open and shows the first form. My code is

msgbox "invalid date", vbokonly, "invalid date"

Does anyone know why this is happening and what work around there is to it?

 

mordyb, have you read FAQ222-2244 yet?

Is the msgbox called from that form?

Good Luck

 
I guess I don't understand your question.

The message box is being called from a dialog box. When the message box is called the dialog box is hidden and the main form is shown with the message box over it.
 

Show the dialog box vbModal over the other form and give it a try.

Good Luck

 
that did it. Thank you very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top