Hi,
I am using a WebBrowser control, because I need to put some of my windows form variables into an html document and then print it... but I do not need the html page to be seen in the form, so I set the WebBrowserControl property Visible to false (WebBrowser.Visible=false) and then call the Navigate method (WebBrowser.Navigate(...)) but it gives me the following error: Trying to revoke a drop target that has not been registered...
If I set the WebBrowser.Visible=true the application runs just fine...
Does anyone knows how can I print the html document without having to see the webBrowser control in the form?
Thanks a lot
I am using a WebBrowser control, because I need to put some of my windows form variables into an html document and then print it... but I do not need the html page to be seen in the form, so I set the WebBrowserControl property Visible to false (WebBrowser.Visible=false) and then call the Navigate method (WebBrowser.Navigate(...)) but it gives me the following error: Trying to revoke a drop target that has not been registered...
If I set the WebBrowser.Visible=true the application runs just fine...
Does anyone knows how can I print the html document without having to see the webBrowser control in the form?
Thanks a lot