Results 1 to 5 of 5

Thread: Report not releasing Memory

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2006
    Posts
    101

    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

  2. #2
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Thumbs up 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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2006
    Posts
    101

    Re: Report not releasing Memory

    Hello :-)

    I dont open any connections with code, it sall fixed in the report.

    Thanks

  4. #4
    Just Married shakti5385's Avatar
    Join Date
    Mar 2006
    Location
    Udaipur,Rajasthan(INDIA)
    Posts
    3,747

    Question Re: Report not releasing Memory

    How you calling the report??

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Nov 2006
    Posts
    101

    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
  •  



Click Here to Expand Forum to Full Width