Has anyone encountered this error while using the Craxdrt library to print crystal reports from VB?
Method 'PrintReport' of object 'ICrystalReportViewer10' Failed
My Code for printing the report appears below:
Dim prReport As CRAXDRT.report
'...Crystal report opening, login, and parameter code appears prior to the print routine...
prReport.SelectPrinter DefaultPrinter, DefaultPrintDrv, Trim(DefaultPrintPort)
prReport.PaperOrientation = crPortrait