A
antoine Veret
Hello,
an Exception "System.Runtime.InteropServices.COMException
(0x80040100): Trying to revoke a drop target that has not been registered"
throw when i execute this code, i dont understand why, althought i test with
the "while"
object ep = null;
axWebBrowser1.Navigate2(ref source, ref ep, ref ep, ref ep, ref ep);
while (axWebBrowser1.QueryStatusWB(SHDocVw.OLECMDID.OLECMDID_PRINT) !=
(SHDocVw.OLECMDF.OLECMDF_SUPPORTED & SHDocVw.OLECMDF.OLECMDF_ENABLED))
Application.DoEvents();
Console.WriteLine("Printing : " + source);
axWebBrowser1.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT,
SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER, ref ep, ref ep);
an Exception "System.Runtime.InteropServices.COMException
(0x80040100): Trying to revoke a drop target that has not been registered"
throw when i execute this code, i dont understand why, althought i test with
the "while"
object ep = null;
axWebBrowser1.Navigate2(ref source, ref ep, ref ep, ref ep, ref ep);
while (axWebBrowser1.QueryStatusWB(SHDocVw.OLECMDID.OLECMDID_PRINT) !=
(SHDocVw.OLECMDF.OLECMDF_SUPPORTED & SHDocVw.OLECMDF.OLECMDF_ENABLED))
Application.DoEvents();
Console.WriteLine("Printing : " + source);
axWebBrowser1.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT,
SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER, ref ep, ref ep);