Subject: VB6 wont display crystal Reports 10.0
Posted By: cnobles Post Date: 9/25/2006 4:15:09 PM
Hi,
I am trying to determine why my VB6 application will not display crystal reports that have been created in Crystal 10. It has no problems displaying crystal reports in earlier versions.

The call is as follows:
Call CR.OpenOnlineCrystalReport(DB, strReportName)
CR.DisplayReport

Like I stated above this works for any reports created in versions earlier than version 10.

I have added the follwoing component and it still does not work.
Crystal ActiveX Report Viewer Library 10.0

Any other components I should add?

Thanks,
Christian
Reply By: Raghavendra_Mudugal Reply Date: 9/26/2006 12:49:15 AM
check this...
make a reference to CR .for net active X

Dim c As CRAXDDRT20.Application
c.OpenReport "c:\samplereport.rpt"

It must work... because it works for me.


With Regards,
Raghavendra Mudugal

Go to topic 49748

Return to index page 165
Return to index page 164
Return to index page 163
Return to index page 162
Return to index page 161
Return to index page 160
Return to index page 159
Return to index page 158
Return to index page 157
Return to index page 156