Hi all,
Imagine this simple piece of code:
Dim RptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
RptDoc.Load("C:\Report1.rpt")
RptDoc.PrintToPrinter(1, False, 1, 0)
RptDoc.Close()
RptDoc.Dispose()
Report1.rpt is a simple report with a label and no DB connection (just for a try)
When tryng to process RptDoc.Close system hangs (i always stopped so i don't know how long it can take to close)
Same issue with Using / End Using
Using RptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
RptDoc.Load("C:\Report1.rpt")
RptDoc.PrintToPrinter(1, False, 1, 0)
End Using
I'm woking with VS2010 and CR 13
Normally miy reports have a DB connection to Oracle but wanted to see if the close also fails with a very simple report and it does !
Any ideas ?