WEB BROWSER CTRL - OBJECT WAS UNLOADED - TechRepublic
General discussion
April 10, 2003 at 01:31 AM
alanr

WEB BROWSER CTRL – OBJECT WAS UNLOADED

by alanr . Updated 23 years, 1 month ago

We have a VB program that automates the printing of a personalized letter, a personalized HTML page and PDF pages in that order for a given number of records. We use WORD for the letter, a web browser control for the HTML page and Adobe Acrobat for the PDF. We do not use WORD to open and print the HTML page because it does not print the way we want it in WORD. The problem is that after going through 270 records, we get the error “Object Was Unloaded – Error 364” and we have to Restart the computer. To print the HTML page we open a form with a Web Browser control, load the HTML page, print, then unload the form. We use Windows ME OS, Explorer 5.5, Word 2000, Acrobat 5.0 in Novell Environment (print files goes to Novell Print Queue). Does anyone know why it would stop at 270 records? It doesn’t matter if we close the program and restart it. It still stops after 270 records. Can anyone suggest an alternative way of printing the HTML page?

This discussion is locked

All Comments