Hi,
I have a problem in a VB6 program when exporting a report to a PDF file.
The program uses the craxddrt.dll version 11.0.0.2220.
It exports the report like this:
crReport.ExportOptions.FormatType = crEFTPortableDocFormat
crReport.ExportOptions.DestinationType = crEDTDiskFile
crReport.ExportOptions.PDFExportAllPages = True
crReport.ExportOptions.DiskFileName = App.Path & "\" & strVon & ".pdf"
crReport.Export False
The Export function returns the error code -2147190908.
The report contains the barcode font IDAutomationHC39M and I think this causes the problem. Because when I remove the barcode field from the report the export works fine.
I did a little research but there are many reasons that cause the error code. The best hit is the following thread but it contains no satisfying answer.
http://scn.sap.com/thread/1397038.
Does anyone know if there are problems with fonts when exporting to a PDF file?
And if so, is there a solution?
Thanks and best regards
Thomas