Solved

CR 8.5 Pro, VB 6.  Need a viewer!

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 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