Problem : Exporting Crystal Report 8.5 file to PDF using VB6 Coding

Problem : Exporting Crystal Report 8.5 file to PDF using VB6 Coding

When I export Crystal Report 8.5 File to PDF file through VB6 code export is successful but cannot open the PDF file.
Error: File does not begin with ‘%PDF-‘.

If I export the same report file directly from crystal reports to PDF then I can open the PDF file.


Solution : Exporting Crystal Report 8.5 file to PDF using VB6 Coding

VenkatGVR, Dll you need to refer in your project is CRAXDRT.dll. It should show as “crystal report Viewer Control” in your project reference list. physical location of the file will be something like this “C:program files\seagate software\viewers\activeXviewer”.
Let me know if this one helps or not