Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Memory Full" error

Status
Not open for further replies.

JawwadLone

Programmer
Mar 17, 2004
57
PK
hi everyone,
I am trying to display a report created in crystal report on my vb interface (using crystal report viewer). I am surprised to see the behaviour of my application. When i call the procedure to display the report for the first time, it works good. but when i call the same procedure second time it gives me "Memory Full" error. Following is the code which i am trying

Code:
    Set CRViewer1.ReportSource = Nothing
    CRViewer1.CloseView (CRViewer1.ActiveViewIndex)    
    Me.CRViewer1.ReportSource = rptReport
    Me.CRViewer1.Visible = True
    Me.CRViewer1.ShowFirstPage
    Me.CRViewer1.ViewReport

Any help would be apreciated. Thanks.

Regards,
Jawwad Lone.
 
Search their website for that error. I seem to recall that it's the way you set up and close the objects.

"I think we're all Bozos on this bus!" - Firesign Theatre [jester]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top