Solved

How to compile crystal report?

Posted on 2004-04-22
4
746 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
[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
  • 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 23

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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 video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

734 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