Solved

How to compile crystal report?

Posted on 2004-04-22
4
730 Views
Last Modified: 2007-12-19
hi, all,
i wonder how to compile a crystal report which designed in CR9.0?

thanks
viola
0
Comment
Question by:viola123
  • 2
4 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 10898585
Compile into what?

If you're working in Visual Studio, just open Solution Explorer and right click on your project.  Select Add Existing Item -> Crystal Report then browse to the report you want added.  Now click on the report itself in Solution Explorer (you'll see the .rpt file) and check the properties to make sure it is set to "Embedded Resource" (this is the default unless you've changed it).  

This will compile a report created outside of Visual Studio into your .exe file.  Is this what you're asking?
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 50 total points
ID: 10898678
It cannot be done.  The compiler feature of Crystal was eliminated in CR8 though an add on was provided after release.  There is no add on or capability in CR9 or CR10 to compile the reports.

The best you can do is build a VB program and import the reports as DSR files and compile the application.

mlmcc
0
 
LVL 22

Expert Comment

by:Ido Millet
ID: 10909853
What is your main objective?  If it is to let users view reports without owning a Crystal license, consider one of the 3rd-party report viewers listed at: http://www.kenhamady.com/bookmarks.html

If the objective is to protect your intelectual property so that users can't open the report in Crystal and see or change how the report was designed, then one report viewer listed there provides the functionality of converting rpt files to protected rpz files (that can only be viewed by that viewer).

hth,
- Ido
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 10915153
Glad I could help

mlmcc
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

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. …
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 …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 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