Solved

How to compile crystal report?

Posted on 2004-04-22
4
734 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

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

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. …
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

21 Experts available now in Live!

Get 1:1 Help Now