Hi, this is the problem. I have built an application in VB6 with crystal report 8.0. the report works fine, but when trying to export it (.xls, .doc, and others..), it does nothing. Only i get is a file 0 bytes long.
Printable View
Hi, this is the problem. I have built an application in VB6 with crystal report 8.0. the report works fine, but when trying to export it (.xls, .doc, and others..), it does nothing. Only i get is a file 0 bytes long.
Are you exporting from the report itself?
If so, you are probably missing the required Crystal Reports dll files.
These are located in the 'crystal' folder under WINNT. They start with u2....dll (u2fxls.dll, u2wordw.dll, etc)
You have to distribute them with your app in order for the report to find and use them.
Cheers,
Laurent
Yeah, i got those files in the directory you say. But even in my machine (developer station) in which i have installed crystal reports 8, visual studio 6 and office xp, i cant manage to export it through my app in VB. However i can using directly Crystal Rep.
Sorry, I am not sure how to export directly from an application. We just export to another format when the report is on the screen.