on 08-05-2014 11:51 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.