Crystal Report Control - how to use it in VB

  • Thread starter Thread starter Julia Sats
  • Start date Start date
J

Julia Sats

Hi,
I previously used CR v 4.6.
After I created report and saved it as a file , I only need to add control
in VB and set some properties .
Inside VB such line of code : cr.PrintReport.
And after it I can see report

Now I am going to use CR v 9.
But inside VB I can not find component (OCX) for working with report.
Maybe something was changed since my previous experience.
Please help me with advice - what I have to do for show report from VB.

Thanks,

P.s. I checked documentation but also can not find a clue.
 
are you using vb6 or .NET w integrated crystal ?
if it is .NET you add a crystalreportviewer to your form and set its
reportsource to your report.
if the crystalreportviewer isn't showing in your toolbox right click on it
and use add items to get it.

note i could be wrong but i don't think crystal reports is included w vb
..net stand alone you would need visual studio for that or buy it seperately

eric
 
Julia Sats said:
Hi,
I previously used CR v 4.6.
After I created report and saved it as a file , I only need to add control
in VB and set some properties .
Inside VB such line of code : cr.PrintReport.
And after it I can see report

Now I am going to use CR v 9.
But inside VB I can not find component (OCX) for working with report.
Maybe something was changed since my previous experience.
Please help me with advice - what I have to do for show report from VB.

Thanks,

P.s. I checked documentation but also can not find a clue.

You have to use the RDC for v9 of Crystal Reports (if you're using VB6) -
there are plenty of examples on Crystal Decisions web site, but you need the
technical documentation to expose the object definitions etc.

Good luck!

NEIL.
 
Back
Top