cancel
Showing results for 
Search instead for 
Did you mean: 

crystal report 8.5 export to csv and rtf format not working with office 2013

Former Member
0 Kudos

Hi Experts,

Crystal report version 8.5 hangs and eventually crash when i export my report to csv or rtf format on windows 7 with office 2013 installed, code is written in VB 6 although the same scenario is working with office 2010 installed.

i debugged the code and found the application hangs at function Report.Export(False).

below is the code snippet

***************************************************************************

       .PDFExportAllPages = True 'ePDFExportAllPages
       .PDFFirstPageNumber = ePDFFirstPageNumber
       .PDFLastPageNumber = ePDFLastPageNumber
       .RTFExportAllPages = True 'eRTFExportAllPages
       .RTFFirstPageNumber = eRTFFirstPageNumber
       .RTFLastPageNumber = eRTFLastPageNumber
       .UseReportDateFormat = eUseReportDateFormat
       .UseReportNumberFormat = eUseReportNumberFormat
       .UseReportNumberFormat = eUseReportNumberFormat
       .XMLAllowMultipleFiles = eXMLAllowMultipleFiles
       .XMLFileName = eXMLFileName
   


    
  Report.Export (False) ----Application hangs here and eventually crash

*****************************************************************************

Looking forward for your help, as it is very urgent

Regards

Mohit

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Hi Mohit

CR 8.5, being about 15 years old, does not support Windows 7. I am surprised this works for you with MS Office 2010 and to be honest, I'd consider my self lucky there. The fact that is does not work with office 2013... well, like I said, lucky with Office 2010 and your luck ran out with Office 2013.

Your option; rewrite the app in VS 2010 / 2012 / 2013 and use the CR Assemblies for VS .NET from SAP Crystal Reports, Developer Version for Visual Studio .NET. The CR Java SDK would be another option.

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Answers (0)