ToDisk(leDocFormat, fileName); since you have the file location you can attach that to a Email. by CoolDadTx Moderator Wednesday, July 13, PM CR related ( From:Visual C# General) ExportFormatType = CrystalDecisions. I also don’t like to use CR Toolbar. Here is my code fro converting and printing CR: //ToHttpResponse(ExportFormatType.

Author: Tole Jujin
Country: Qatar
Language: English (Spanish)
Genre: Video
Published (Last): 21 December 2004
Pages: 334
PDF File Size: 10.73 Mb
ePub File Size: 5.44 Mb
ISBN: 417-5-81456-607-8
Downloads: 86503
Price: Free* [*Free Regsitration Required]
Uploader: Dunos

Do you have any other ideas. This is only my test code I will create more. Nightfirecat 9, 6 30 ReportDocument’ does not contain a definition for ‘DestinationOptions’ and no extension method ‘DestinationOptions’ accepting a first argument of type ‘CrystalDecisions.

How to Export Crystal Report

I am running my export in a service, therefore I have no Session. I’m sorry if I’ve been asking stupid questions, I’m new to Crystal Report and the exporting thing.

Iterate through each parameter value that is available to u and call the second function exportfrmattype the second loop Hpe this helps. I have an application which uses the crystal viewer. I still do like the product, my users are very happy with exportformahtype results, the report editor is not that bad to work with and the components integrate well into a solution.

Export Crystal Report into pdf format and open a popup window | The Forums

There are no error messages. Now it’s not asking login info anymore. While it is giving the error message I went to exportforamttype and setting directory and checked that a. You are free to use it for commercial as well as non-commercial use at your own risk, but you cannot use it for posting on blogs or other tutorial websites similar to www. I converted the code to vb and it works quite well.


Hi, I am using the above code to export in the format of pdf, doc, xls. Crystal Report supports export of Reports in many formats. Last week was our long week-end Saterday, Sunday and Monday so was out of town.

I already provided database login info Please post the solution for the issue. Net and Visual Studio Please read and accept our website Terms and Privacy Policy to post a comment.

Export Crystal Report To PDF,RTF,DOC files–> please help me | The Forums

I could able to export to pdf,doc and html. Anyways, I only want to export it in. On of the things I learned is that you have to Close a report after exporting.

Which would be fine, but it is looking for the temp file name that C. Given the hoops you need to get it done for a plain file. expprtformattype

How to set export options when using ExportToStream() in CR for VS 2010 ?

I declare, I accept the site’s Privacy Policy. Check first which object is null, the selectedReport or the exportoptions? Make sure you provide a valid email address else you won’t be notified when the author replies to your comment Please note that all comments are moderated and will be exportformattyppe if they are Not relavant to the article Spam Advertising campaigns or links to other sites Abusive content.


Richard Forrest 2, 1 17 ExportFormatType formatTypeSystem. Exportformattyep would like to know the correct method of passing parameters to the report when exporting to PDF. Crystal Report exported to CSV file.

Exporting to Excel turned out to be just a matter of setting the right content type. Hey Pete, Is there a way I exportformattyoe export the. Sri, thank you ever so much for your help turning this blog into a wiki http: An unhandled exception occurred during the execution of the current web request.

Is it possible to create the. Is there a way to export specific fields from the Crystal Report wxportformattype an Excel file instead of exporting the entire Crystal Report???? Here is my code fro converting and printing CR:. Print Share Twitter Facebook Email. You try using the following reference and le’me know: This option was explained later in the tutorial. Apr 21, This function has four parameters.

It looks like a word document running somehow inside excel…. I get errors and I don’t know why and how dxportformattype solve it, I hope you can help me:.

You can download it from here. Another program may be using it.