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

Blank Message Box

Status
Not open for further replies.

RayRayRay

Programmer
May 17, 2002
4
US
Hi All,
I am developing an application in VB6. I am using the Printer Object to send a report to an Epson LQ-2080 ESC/P2 Printer.

Running the program from the VB IDE, I get an empty mesage box with an Exclamation Point Icon, and OK button, but no text. The Title Bar contains "Microsoft Visual Ba...". My application continues to run, and the printer does print what I sent it. Doesn't appear to be Modal to the Application, System, nor the Printer.

Does anyone have any ideas as to who, what, where its coming from. Or how to get rid of it ?

Thanks in Advance
 
Try a quick search through your code for "msgbox" to see if maybe someone set up a little alert that they didn't take out. Verify that any "msgbox" elements that appear in your code are necessary.

HTH, MapMan [americanflag]

Assume nothing, question everything, be explicit not implicit, and you'll always be covered.
 
similar thing happened to me once when i forgot to put an 'Exit Sub' or 'Exit Function' before my error handler

ex.,

Code:
sub process()
  on error goto errorhandler

  ' do stuff here

  ' forgot to put 'exit sub' here

errorhandler:
  msgbox err.description, vbexclamation
exit sub

hope this helps you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top