on 02-21-2011 9:49 AM
hi
I have installed Crystal Reports 2008 Version 12.0.0.683 and Crystal Reports 2008 Runtime (CRRuntime_12_0_mlb.msi)!
I create a VBS Script test.vbs with the following content:
' Export to PDF with VB-Script:
Dim Application, Report
Set Application = CreateObject("CrystalRuntime.Application.12")
Set Report = Application.OpenReport("C:\Bericht.rpt")
Report.ExportOptions.FormatType = 31 ' crEFTPortableDocFormat
Report.ExportOptions.DestinationType = 1 ' crEDTDiskFile
Report.ExportOptions.PDFExportAllPages = True
Report.ExportOptions.DiskFileName = "C:\Bericht.pdf"
Report.Export (False)
The error message displays:
ActiveX component can't create object: 'CrystalRuntime.Application.12''
Whats wrong with Crystal Reports?
Hello,
There is no ActiveX components in CR 2008. Only .NET components now. The RDC was deprecated in CR 9 and stopped shipping as of CR XI R2 ( 11.5 ).
Thank you
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes and No....
You cannot use VBS to run Crystal Reports as you could in earlier versions. You have to write your app in Visuak Studio .NET and use Crystal Reports .NET Assemblies.
See these sample app's for more info:
Root Page
http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsHome
Enterprise Samples (including managed and unmanaged ras)
http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
Non-Enterprise Samples
http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications
Exporting Samples (RAS)
http://wiki.sdn.sap.com/wiki/display/BOBJ/NETRASSDK+Samples#NETRASSDKSamples-Exporting%2FPrinting
Thank you
Don
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.