Hi..
anybody know how to close(dispose) a crystal report?? In my project I'm using as follows:

VB Code:
  1. Private Sub frmReports_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  2.  
  3. RptName = Directory.GetCurrentDirectory & "\Reports\pnl.rpt"
  4. Viewer1.ReportSource = RptName
  5. Viewer1.RefreshReport()
  6.  
  7. End Sub
  8.  
  9. Private Sub frmReports_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
  10.  
  11. Viewer1.Dispose()
  12.  
  13. 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...