Hi,
I am trying to print a document from an instance of IE and then
destroy the instance after the printing has completed.
I use the following code to navigate to the page.
object o = null;
axWebBrowser.Navigate(someurl, ref o, ref o, ref o, ref o);
I then use the DownloadComplete event when the navigation is finished
and I start the printing
object o = null;
axWebBrowser.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRIN T,
SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER ,ref o, ref o);
Is there a way to determine if the document has completed printing??
I would like to know when I can destroy the IE instance and how??
Thanks!
AH