Link to home
Start Free TrialLog in
Avatar of adimit19
adimit19Flag for Canada

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?
Avatar of Mike McCracken
Mike McCracken

Can you change the application?

How is the application calling the reports?

Any idea what version of Crystal?

mlmcc
Avatar of adimit19

ASKER

opening of report:
crv.ShowCloseButton = true;
                crv.Visible = true;
                crv.BringToFront();

                crv.ReportSource = rptSecur03;
private CrystalDecisions.Windows.Forms.CrystalReportViewer crv;
private CrystalDecisions.CrystalReports.Engine.ReportDocument rptSecur03;
How do you close the report viewer?

How do you assign the report file to the viewer?

mlmcc
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
Avatar of adimit19
adimit19
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
the code works in eliminating the error