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

VB and printing

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0

I have a label program that's using the Form1.printform function to print out labels for various inventory items at our company. It saves a lot of time manually filling out this information. All of a sudden it is not working. I have tried it on numbers computer and printer combinations to no success. It only prints out 2/3 of the form.

Here is the catch, if I STEP through the code, it prints correctly. If I run it doesn't.

Help.
 
Printerdan

This sort of behaviour sometimes means you need to let Windows catch of with its multi-tasking schedule.
Typically these problems often disappear when you add a few temporary message boxes to try to find out what is going on!
Try adding a few DoEvents statements in your code.
Prune out all unecessary ones if this does solve your problem.

Regards,

Geoff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top