Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Design Runtime Api in CR 9 Dev is not working
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Title:
Crystal Design Runtime Api in CR 9 Dev is not working
Miscellaneous
Thread ID:
00695735
Message ID:
00695735
Views:
82
Hi all,

The following code works on a development machine using CR 8.5.
oCr=CREATEOBJECT("crystaldesignruntime.application")
oRpt=oCr.NewReport()
I installed CR 9 on this machine and it is no longer working.

On the creation of the new report I get an error:
OLE IDispatch exception code 0 from Crystal Reports ActiveX Designer: Creation feature not enabled...

Most likely did they remove the 1-User licence of the Report Creation API from CR 9 Dev.

I only use this to create Reports for a data-set on my development machine, so this was the perfect solution for me in CR 8.5.

Can somebody confirm my findings that it is no longer working with CR 9.

FYI, this still works:
oCr=CREATEOBJECT("crystaldesignruntime.application.8.5")
oRpr=oCr.NewReport()
and
oCr=CREATEOBJECT("crystaldesignruntime2.application.NET")
oRpt=oCr.NewReport()
Regards,
Frank Camp
Reply
Map
View

Click here to load this message in the networking platform