linkedinfacebooktwittermenuarrow-up

GemBox Support Forum

PDF files still in use after running code

When I run my code with free-limited-key it runs fine and combines two 1 page pdfs but if I run it again it tells me that the files are in use and errors out. How do I close the files?

Forgot to mention, it is Classic asp / vbscript code in use.

Hi Dayton!

Make sure you are calling PdfDocument.Dispose on all PdfDocument instances that you create.

Regards,
Stipo