4

WPF cannot use (built-in) export button to save .xlsx file with picture in Cryst...

 1 year ago
source link: https://answers.sap.com/questions/13823172/wpf-cannot-use-built-in-export-button-to-save-xlsx.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
6 hours ago

WPF cannot use (built-in) export button to save .xlsx file with picture in CrystalReportsViewer

8 Views

Hello,

I am developing a WPF application (Visual Studio) and use CrystalReportsViewer to preview the report with a picture in it. When I click at built-in export button in CrystalReportsViewer and select type "Microsoft Excel (XLSX) (*.xlsx)", the application closed unexpectedly without any error or exception even I already tried to caught unhandled exception. How do I fix this?

See Screenshort

More information:

- I can export successfully if select type "Microsoft Excel (XLSX) (*.xlsx)" without the picture in the report.

- I can export successfully if select type "Microsoft Excel - Data Only (XLSX) (*.xlsx)" with the picture in the report.

- I can export successfully if select type "Microsoft Excel (XLS) (*.xls)" with the picture in the report.

- Installed SAP Crystal Reports, version for Microsoft Visual Studio V13.0.32.4286.

- Installed SAP Crystal Reports runtime engine for .NET framework (32 bit) V13.0.32.4286.

- Installed SAP Crystal Reports runtime engine for .NET framework (64 bit) V13.0.32.4286.

- Picture info: JPEG file, 50.4 KB, 710 x 400 px.

Thanks in advance.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK