By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,380 Members | 1,736 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,380 IT Pros & Developers. It's quick & easy.

calling Crystal report 2013 in powerbuilder

P: 1
Hi, I've been using the following example code to call crystal report 9 files from powerbuilder
Expand|Select|Wrap|Line Numbers
  1. 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
Now I've upgraded crystal to 2013 but can't call the reports from powerbuilder. ConnectToNewObject returns -2. Anybody with the solution to that.

First Name:

Aug 14 '19 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.