I am using Stephan Leban's "Print To PDF" solution. www.lebans.com/reporttopdf.htm
On a form I have a list box of reports that I wish to print to PDF. The user selects the reports and the code loops through the selected reports and prints them to PDF
If the number of reports selected exceeds 600 (this figure varies and is not exact) I get memory related errors. Typically stating that there is insufficient memory to perform the operation.
How can I programatically release memory to prevent these errors? Typically after Stephan's code has generated the PDF.
Stephan refers to 2 dll files. How can I remove them from memory once I am finished with them?
On a form I have a list box of reports that I wish to print to PDF. The user selects the reports and the code loops through the selected reports and prints them to PDF
If the number of reports selected exceeds 600 (this figure varies and is not exact) I get memory related errors. Typically stating that there is insufficient memory to perform the operation.
How can I programatically release memory to prevent these errors? Typically after Stephan's code has generated the PDF.
Stephan refers to 2 dll files. How can I remove them from memory once I am finished with them?