• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2122
  • Last Modified:

Crystal 10 - crystl32.ocx?

Hi all,

Till recently I was using CR 7.0 to create reports and use crystl32.ocx control in VB to call the report.  We've now upgraded to CR 10 but I can't find the control.  How do I go about running reports from VB?

Thanks!

Adi
0
vbtiger
Asked:
vbtiger
  • 5
  • 2
1 Solution
 
frodomanCommented:
Adi,

Crystal hasn't supported the ocx for a while - version 8.5 was the last to support it.  You're going to need to use the RDC instead which will be somewhat of a change for you but not too bad and the benefit is that you have more control available to you with RDC then the ocx ever allowed.

Business Objects has published a migration guide for moving from ocx to rdc which should be helpful: http://support.businessobjects.com/communityCS/TechnicalPapers/cr9_ocx_to_rdc.pdf.asp

frodoman
0
 
frodomanCommented:
Adi,

One thing I forgot to mention - you hopefully have upgraded to the advanced or developer edition of CR10 as these are the only editions that include the RDC components.  If you have standard or professional edition of CR10 then you are going to need a higher edition to use RDC.

Version comparison here for your reference: http://www.businessobjects.com/global/pdf/products/crystalreports/cr10_feat_ver_ed.pdf

frodoman
0
 
vbtigerAuthor Commented:
We've upgraded to Advanced Developer edition.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
frodomanCommented:
In that case use the migration guide I gave you.  It's actually written for CR9 but will serve you well with CR10 also.

Good luck,

frodoman
0
 
frodomanCommented:
Glad I could help - frodoman
0
 
vbtigerAuthor Commented:
Thanks man!  Really appreciate it!
0
 
gportaCommented:
Hi frodoman,

I have a similar question, but in my case I installed Crystal Reports Pro 8.5 (selecting the typical installation), but when I tried to open the project that I need to support, I got the error that Crystl32.ocx wasn't found. I searched the the Winnt/system32 first and then the whole hard drive, but the ocx was not installed.

My thought was that 8.5 doens't install that OCX anymore, but reading your answer above you said that 8.5 is the last one to have it.

Can be that the Pro version doesn't have it, or instead that I should have picked custom instead of the typical installation I choose when installing?

Your help would be very appreciated, because I need to get this project to run ASAP.

Thanks!

-German P.
0
 
frodomanCommented:
gporta,

You should really post your own question instead of tailing onto a closed one.  But, quick answer as far as I know the ocx was included w/ all versions of Crystal 8.5 - I don't recall the install but you can probably just copy it from the CD and use regsvr32 to manually register it.

frodoman
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now