Click here to Skip to main content
15,905,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Greetings

I have an application developed with Vb.Net 2005 and Crystal report XI used to preview many statistical reports.

I always preview any report successfully, but when exporting any report that contains a Chart into pdf using the built-in export functionality in the report viewer control, the application freezes forever.

While when exporting any report that does not contain any chart into pdf, it exported successfully and with no errors.
So, I need to know if there is a some way / Solution / workaround that I could use to fix my issue and let my export process continue successfully.


please can I have a little help over here...
Please advise...
Thanks in advance....
Posted
Comments
Kschuler 7-Mar-12 9:46am    
You may want to post this directly on the SAP forum. That's the company behind Crystal Reports. Here is the link:
http://forums.sdn.sap.com/index.jspa

Besides having charts, is there anything else a little different or unique that you are doing? Are you just using the Crystal Report viewer, or do you code specifically for the export? Any other settings that you've changed that could also be involved? Maybe post any possibly relevant code for us to see.
dgthecodeproject 8-Mar-12 7:58am    
One more details that may assist you to help me is that the reports are designed using Crystal report XI (11.0.0.893)...However the version number of the CR References that are added to my application source code in the Visual Studio 2005 is: 10.2.3600.0...

1 solution

YOU CAN USE ADOBE PDF PRINTER
 
Share this answer
 
Comments
dgthecodeproject 11-Mar-12 0:24am    
Thanks AlkeshNayak....

You have provided me a workaround but not a solution....

If I walk with you with this workaround then I will have to implement the following requirements and you tell me if possible:

1) I should override the built-in Export of the CR viewer in order to run my custom code.....
2) I should develop my custom code to include function that change the printer into the ADOBE PDF Printer and then print the report...

If possible please provide the Vb.Net code...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900