Hi All,
We have a VFP 8.0 program uses Crystal Reports XI object to print one of our reports.
Last week the program started giving a Fatal OLE error on SelectPrinter command. "Exception code c0000005. Ole object may be corrupt.".
We haven't change the exe file, we haven't change the report and we didn't install any new thing on the computers.
Here is the code:
CRApplication = CreateObject ("CrystalRuntime.Application")
CRReport = CRApplication.OpenReport("DailyReport.rpt")
CRReport.SelectPrinter('AdobePS Acrobat Distiller','Acrobat Distiller','c:\temp\*.pdf')
CRReport.PrintOut(.F.,1,.T.,1,1)
Release CRReport, CRApplication
Any information is greatly appreciated.
Thank you in advance,

Crystal Reports SelectPrinter command error
Ashok Kumar Roy
Ghoort
Hi!
I see the same in my application using ActiveReports. Application is in vfp7, but I have tried also with vfp9 with same result.
What exactly do you mean by "delete all referencec to FoxUser.*"
Thanks! :-)
Jarek Błaszczyk
arthurmnev