Solved

CR 8.5 Pro, VB 6.  Need a viewer!

Posted on 2004-04-16
4
918 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 101

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 101

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 101

Expert Comment

by:mlmcc
ID: 10944396
Glad I could help

mlmcc
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

627 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