[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 921
  • Last Modified:

CR 8.5 Pro, VB 6. Need a viewer!

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
Scott_V
Asked:
Scott_V
  • 3
1 Solution
 
mlmccCommented:
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
 
Scott_VAuthor Commented:
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
 
mlmccCommented:
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
 
mlmccCommented:
Glad I could help

mlmcc
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now