adimit19
asked on
There are still active COM Objects in this application. One or more clients may have refrences to these objects
I get the error message indicated in the title each time I log off the computer after the application is closed.
The .net application uses a crystal reports active-x.
How do i get rid of this error?
The .net application uses a crystal reports active-x.
How do i get rid of this error?
ASKER
opening of report:
crv.ShowCloseButton = true;
crv.Visible = true;
crv.BringToFront();
crv.ReportSource = rptSecur03;
crv.ShowCloseButton = true;
crv.Visible = true;
crv.BringToFront();
crv.ReportSource = rptSecur03;
ASKER
private CrystalDecisions.Windows.F orms.Cryst alReportVi ewer crv;
private CrystalDecisions.CrystalRe ports.Engi ne.ReportD ocument rptSecur03;
private CrystalDecisions.CrystalRe
How do you close the report viewer?
How do you assign the report file to the viewer?
mlmcc
How do you assign the report file to the viewer?
mlmcc
ASKER
I was hoping this forum would tell me how to close the reportviewer. THe report file code is already attached -- crv.ReportSource = rptSecur03;.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
the code works in eliminating the error
How is the application calling the reports?
Any idea what version of Crystal?
mlmcc