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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing crystal reports w/o crystal? 1

Status
Not open for further replies.

kjmeeks

IS-IT--Management
Aug 16, 2002
4
US
I have included a crystal report in my vb application using the active-x control. Is there a way people can use my app. if they do not have crystal installed?
 
If you have created your app with the developers edition of CR, or with the free version of CR that comes with VB, they shouldn't need Crystal to run reports from your app. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
I have created a report with Crystal Reports version 8. My application is created with VB 6.0 that ships with Visual Studio. The app runs fine and will pull the report on my PC but when I try it on another PC, I get the message "active x component can not create object". I made sure the other pc had the crviewer.dll and that is was registered. Now I'm stuck.
 
You have version 8 of CR, but what edition is it?
Standard, pro or developer? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
I think it is just standard. I installed it off our network I'm not 100% sure. I know it's not the developer edition though.
 
You will need Developer if you want to include reports in your app. You can use the FREE copy of Crystal that comes with VB, but that is a very old version (v4.6) of Crystal. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
That's a bummer. I have some nice reports I was wanting to include in some vb apps. I don't think I can get my hands on the developer version. I was hoping I was just missing some dll's. Thanks for your help though.
 
You might be able to pick up a copy on Ebay, just make sure it is a legal copy. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Hi,

As far as I understood you are using Crystal OCX,right? If so... when you are packaging you reports you need to include the ocx. If you make this with PDW (Packaging and Deployment Wizard) it will ask for a dep file if this file is not found in the directory where the ocx are placed. If he finds thar dep file it will not ask for it and everything should works... If ths doesn´t help... go to the machine where you want you reports to run and try the component checker tool for see what database files (mdac) is running on that machine...

kenhamady could you tell me one thing? Does VB6.0 has all the tools necessary to develop and distibute a simple crystal reports based on the ocx? I mean...ok ..it has the ocx file...but does it have any way to make the actual report (design it)? Or I will always need the crystal application?

Thank you :)
 
vb6 has an old version of the Crystal Reports designer (v4.6). It is on the CD but doesn't install automatically. This allows you to create the reports. You can then run them from VB using the OCX. This version can be upgraded to the current version by buying an upgrade of Crystal Reports Developer Edition. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top