Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 4th, 2006, 06:32 AM
Registered User
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to manojshirgurkar
Default Extracting Image From Crystal File

Hi All,

I am writing a C# code to generate a Microsoft Reporting Service fie format i.e RDL(Report Definition Language) file from Crystal Report file(RPT), i have converted many features from the crystal to RDL but i have stuck at a point.

I am able to extract the Items from the rpt, i m getting a CrystalDecisions.CrystalReports.Engine.PictureObje ct but i m not able to convert it to standard picture object so that i can take it to RDL.

Please tell me if u know how to do it. If u can save the extracted image to a disk file even that ll do.

Your reply is appriciated in advance.
 
Old August 15th, 2008, 08:13 AM
Registered User
 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,
Pls reply in detail and with references to the e-mail id [email protected] about the ways to develop an application to convert Crystal Report files to SQL Reports in C#.

Thanks,
Viswanathan V
 
Old November 7th, 2008, 03:59 AM
Registered User
 
Join Date: Nov 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
I assume you have solved your problem by now, two years later.
Why I am contacting you, is because I want to do exactly the same as Viswanathan V, namely converting reports from Crystal to MS Reporting Services.
But I lack information of rpt file format. I am not asking for your source code, but if you could tell me where to find the necessary documentation, I will certainly be happy.
My e-mail is : [email protected].

Regards,
Johnny
 
Old March 3rd, 2010, 08:57 AM
Registered User
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to manojshirgurkar
Default

Hi,

I am writing back after 4 years now and unfortunately i couldnot not conver the image. I contacted Crystal and according to their reply Crystal APIS doesnt allow us to capture the image. However after alot of R&D i could some how trick it. This is waht you can do.

Requirement
1. You have to have the data source username and password of the crystal file otherwise it wont work.

Procedure:
1. add a selection formula to crystal file from code. like 1= 2 (this will always be false).
2. run the crystal file.
3. export the output to a html file
4. when you export the report in html it will save the image file to the same location with the smame name as image object name in crystal(you can access image object name using crystal API).
5. take the fiel which is saved on the disk.

you need the data source credentials to run the crystal report.

:)

hope this works for you.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I save Crystal Report File to Image File? Muhammad Akbar Crystal Reports 0 July 10th, 2007 05:33 PM
Extracting Image IPTC Headers qazi_nomi ASP.NET 1.0 and 1.1 Professional 1 January 9th, 2007 04:39 PM
Extracting contents of a war file.. Pallav J2EE 1 September 24th, 2004 12:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.