Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8620

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

$
0
0

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


Viewing all articles
Browse latest Browse all 8620

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>