cancel
Showing results for 
Search instead for 
Did you mean: 

How to export crystal report in text file format programatically

Former Member
0 Kudos

HI Experts,

I am trying last three days to export my crystal report in text file, using crystal report RPT i cant see the text file format. I can see the Rich text format but i want the report to export .txt format so user can view the report through notepad application.

I have tried using CRAXDRT.DLL to export the report in text fomat, i got suceed in the machine SAP is not installed but when i am trying to run the same program on the machine were SAP is installed it is giving me error "ActiveX component cannot create object" when i run the application through VB.

When i try running the code through .Net appliaction (C#/.Net) it gives me error "System.Runtime.InteropServices.COMException: Retrieving the com class factory for component with CLSID {-some ID--}" failed due to following error: 800736b1. I am not sure why it is not working i got totally lost... Can you please help to get out of this?

Can some one provide me the sample code to export the report in the text file.

Looking forward for your help!

Regards,

Naresh

Edited by: naresh2684 on Oct 19, 2011 11:10 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Do any one have answers?