Hello,
I 'm using vb6 and crystal reports 8. I want from my code to export the printout to pdf.
crReport.ExportOptions.DestinationType = crEDTDiskFile
crReport.ExportOptions.DiskFileName = App.Path & "\test.pdf"
crReport.ExportOptions.FormatType = crEFTPortableDocFormat
crReport.Export False
First it said missing dll or out of date. It seemed u2fpdf.dll wasn't present at \windows\crystal directory. Don't know why, though I did a full install. I downloaded the pdf and put it there but now I get an error:
failed to export file
Any ideas on how to solve it?
thanks