|
-
Nov 29th, 2006, 11:47 PM
#1
Thread Starter
Lively Member
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
-
Nov 30th, 2006, 08:25 AM
#2
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.
-
Nov 30th, 2006, 04:30 PM
#3
Thread Starter
Lively Member
Re: Report not releasing Memory
Hello :-)
I dont open any connections with code, it sall fixed in the report.
Thanks
-
Dec 1st, 2006, 12:57 AM
#4
Re: Report not releasing Memory
How you calling the report??
-
Dec 4th, 2006, 12:34 AM
#5
Thread Starter
Lively Member
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()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|