Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem creating Crystal Reports object

Status
Not open for further replies.

spayne

Programmer
Feb 13, 2001
157
US
One of our users gets the error message:

"Class definition CRYSTAL.CRPE.APPLICATION is not found."

when trying to execute the following code:

goCR = CREATEOBJECT("Crystal.CRPE.Application").

She has CR V9 on her computer. Others have older versions and have no problems. Could the command have changed for the newer version of CR? Otherwise, what else could be the problem?

Thanks,
Steve
 
There are two issues here.

First, different versions of Crystal Reports may not have all the capabilities. You should have the Developer Edition and ship the runtimes with your application. That way the user does not need to purchase Crystal Reports. (If you only use canned reports. Report creation, server installation, etc. require additional licensing.)

Second, you should use the CRPE. Business Objects recommends that you use the RDC for report integration.

Craig Berntson
MCSD, Visual FoxPro MVP, Author, CrysDev: A Developer's Guide to Integrating Crystal Reports"
 
Craig,

Thanks for the response. Let me be a bit clearer. The user is a person in our office. We bought the new version of Crystal Reports for ourselves. I believe the reason for the upgraded version was it's capabilities to created PDF documents (which makes me wonder why we are not creating the PDF files directly).

Anyway, since my first post, with some testing, the program did work on someone elses work station with the same version of CR. Could it be a matter of registering a DLL file on her computer? If so, what all needs to be registered? Are there any other pre-use tasks that need to be performed?

Thanks again.
 
Go to the Business Objects web site and download Modules.zip. This should help you trouble shoot what's happening.

Craig Berntson
MCSD, Visual FoxPro MVP, Author, CrysDev: A Developer's Guide to Integrating Crystal Reports"
 
Could you supply the URL to the Business Objects website?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top