Inside of my WPF application, I have embedded a WebBrowser control, which in turn uses the AxAcroPDFLib to load a, you guessed it, PDF. Typically this PDF will load just fine, however, after ten or so times of viewing the PDF, the background on the PDF (the ‘form’ part of the PDF) disappears. All the text is still there, but boxes, rows, grids, labels, etc. are all gone. At that point, the only way to ever see the background again is to restart the app.
The PDF is a form which I am populating from an XML file.
Has anyone seen anything like this before / have any ideas as to what may be happening?
Sounds like a memory leak.
Have you checked the memory consumption?