Skip to Content

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


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.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 02, 2015 at 11:58 AM

    Hi Ankur;

      I would suggest that yo use the RegEdit utility and search the MS-Windows registry for the key "Crystal" and see what you can locate. I am wondering if the newer Crystal Report Writer registers itself as an OLE Server via another slightly different name?

    Regards ... Chris

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 02, 2015 at 01:43 PM

    Hi Ankur,

    Starting with Crystal Reports 2011 there is no longer an OCX included with Crystal Reports. With PB Classic, if that is what you are using, the only way to run with Crystal Reports is if there is an OCX.

    Crystal Reports can be used in a PB.NET application, info in the link below.

    So you want to create a simple PowerBuilder .NET with Crystal Reports SDK Application?


    Add comment
    10|10000 characters needed characters exceeded