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