Hello All,
I am trying to use crystal report 13 with PowerBuilder 11.5. All the documentation that I found online uses the following code to connect to crystal report runtime.
oleobject CRXApplication
oleobject CRXReport
CRXApplication = Create OLEObject
if CRXApplication.ConnectToNewObject("CrystalRunTime.Application")=0 then
CRXReport = create OLEObject
CRXReport.SetAutomationpöointer(CRXApplication.Openreport("d:\temp\test.rpt"))
end if
But I installed crystal report 13 runtime and there is no such classname as CrytalRuntime.Application. ConnectToNewObject is returning -2. I also checked in registry there are a lot of classname for CrystalReports but none for CrystalRunTime.
Any help would be appreciated.
Thanks,