Solved

CR 8.5 Pro, VB 6.  Need a viewer!

Posted on 2004-04-16
4
912 Views
Last Modified: 2012-08-14
Okay.  I've found the simpledemo.zip on crystaldecisions.com but it requires Crystal Reports Developer edition (at least for the control in VB6).

I don't need to actually develop reports or anything via VB6.  I only need to view pre-made .rpt files that pull data from an ODBC connection.  Does anyone know how this can be done?  I've downloaded the crystal reports active X controls, however I'm not sure how to use them.

Basically the problem is if we publish the full version of crystal the end users have too much control and can modify reports.  We just want them to be able to view (though printing and exporting to excel may be nice features).

Please help!

-Scott
0
Comment
Question by:Scott_V
  • 3
4 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 10844021
Yes.  Upgrade to the developer edition.

To provide viewing capability to client machines you need the developer edition of CR8.5.  The developer editiion has 2 things not included in the Professional editiion.  First is the license to distribute the required files. Second is the dlls that you need.

The other option is to purchase a commercial viewing program for all users.
The following link has several viewers available
http://www.kenhamady.com/bookmarks.html

You might also look at the information in
http://www.experts-exchange.com/Databases/Crystal_Reports/Q_20802861.html

mlmcc
0
 
LVL 1

Author Comment

by:Scott_V
ID: 10933408
I actually found a way to do it...  All I did was load up the Crystal Report class in a new VB project and created a new instance of object "CrystalReport".  When I put in all my parameters and such, I run CrystalReport1.PrintReport (where CrystalReport1 is the name of the instance of the object).  This was basically all there was to it.  Also had to get the data source open as well.  We use ODBC on a MS-SQL 2000 box so the line I had to add was like this:

CrystalReport1.LogOnServer "p2sodbc.dll", "ODBC_NAME", "ODBC_NAME", "userID", "password"

Anyways, we published this on citrix with our licenses of Crystal Reports Professional, and because we disallow more users in than licenses we have, I do believe we are within guidelines for usage as well.

Anyways.  Thanks for your help guys, but this seems to work out pretty well...

-Scott
 
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 10935541
Don't ask Crystal if you are, I can almost guarantee they will say you are not.

Consider this from Crystal - I create a report which automatically prints my schedule for the next day and posts it on the web.  If 50  or more people might view it (notice I said might not do) that is 50 or more people have access to the processed report I may need a broadcast license which at that time cost upwards of $100K.  If I ran the report and esported so it could be viewed then no broadcast license.  What is the difference one is auotmated the other requires human intervention.

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 10944396
Glad I could help

mlmcc
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now