Hi..
anybody know how to close(dispose) a crystal report?? In my project I'm using as follows:
VB Code:
Private Sub frmReports_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load RptName = Directory.GetCurrentDirectory & "\Reports\pnl.rpt" Viewer1.ReportSource = RptName Viewer1.RefreshReport() End Sub Private Sub frmReports_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing Viewer1.Dispose() End Sub
But it is not releasing the database object(Excel.EXE)..it still running in the background...I dont know how t get rid of this??
And when I click the First report it takes 30 seconds to load
But the second report takes 50 sec, then
again if i click the first report it takes 1 min & above.. its really confusing me
I'm really tired, bcos of this problem.. can anybody help me on these problems..I'm greatly apreciate the quickest reply...![]()




Reply With Quote