Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

User Crystal report 13 with Powerbuilder 11.5

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,

Tags:
Not what you were looking for? View more on this topic or Ask a question