Solved

CR 8.5 Pro, VB 6.  Need a viewer!

Posted on 2004-04-16
4
913 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

896 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

12 Experts available now in Live!

Get 1:1 Help Now