Report not releasing Memory
Hello
Vb 2005 Pro
I have an app that prints a repoty with about 100 photos on it.
It uses about 500 Meg of ram to do this.
The problem is when I close the report form it wont give the ram back.
I have to close the program and reopen it.
It must be me not knowing how to relase it, can someone help me?
Thanks
Re: Report not releasing Memory
Close all the open connection when you are closing the form. So after displaying the report close the connection also.
Re: Report not releasing Memory
Hello :-)
I dont open any connections with code, it sall fixed in the report.
Thanks
Re: Report not releasing Memory
How you calling the report??
Re: Report not releasing Memory
Hello
Like this.
listFarmlet1.SummaryInfo.ReportTitle = "Test
listFarmlet1.PrintToPrinter(1, False, 0, 0)
or this
'form with report viewer on it.
frmRptLists.Show()