L
Logician
I get an issue with disposing of axWebBrowser. I googled this topic
and found a lot of people have the issue but no one really has a
resolution from what I saw.
The basic issue is that the pdf document is retained and after a
certain number, seems to be about 100, the systems refuses to open
more documents, and also it disallows updates on the pdf document.
I have tried a few versions of dispose but nothing really works.
Does anyone have any more information?
public class pdfDocument : System.Windows.Forms.Form
{
private System.Windows.Forms.Label lblError;
private System.Windows.Forms.Panel panel1;
public AxSHDocVw.AxWebBrowser axWebBrowser1;
pdfDocument newScanName1 = new pdfDocument();
string thisImageName=getPDFDir()+"\\"+thisScanName;
newScanName1.axWebBrowser1.Navigate(thisImageName);
newScanName1.Visible=true;
and found a lot of people have the issue but no one really has a
resolution from what I saw.
The basic issue is that the pdf document is retained and after a
certain number, seems to be about 100, the systems refuses to open
more documents, and also it disallows updates on the pdf document.
I have tried a few versions of dispose but nothing really works.
Does anyone have any more information?
public class pdfDocument : System.Windows.Forms.Form
{
private System.Windows.Forms.Label lblError;
private System.Windows.Forms.Panel panel1;
public AxSHDocVw.AxWebBrowser axWebBrowser1;
pdfDocument newScanName1 = new pdfDocument();
string thisImageName=getPDFDir()+"\\"+thisScanName;
newScanName1.axWebBrowser1.Navigate(thisImageName);
newScanName1.Visible=true;