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.Na vigate(someurl, ref o, ref o, ref o, ref o);
I then use the DownloadComplet e event when the navigation is finished
and I start the printing
object o = null;
axWebBrowser.Ex ecWB(SHDocVw.OL ECMDID.OLECMDID _PRINT,
SHDocVw.OLECMDE XECOPT.OLECMDEX ECOPT_DONTPROMP TUSER,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
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.Na vigate(someurl, ref o, ref o, ref o, ref o);
I then use the DownloadComplet e event when the navigation is finished
and I start the printing
object o = null;
axWebBrowser.Ex ecWB(SHDocVw.OL ECMDID.OLECMDID _PRINT,
SHDocVw.OLECMDE XECOPT.OLECMDEX ECOPT_DONTPROMP TUSER,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