We are trying to convert a .jpg to PDF via VB6 programming. Once the .cPrintFile instruction is executed the Windows Picture and Fax Viewer activates showing the picture but debug shows our progam is stopped at the .cPrintFile instruction. We close the Picture and Fax Viewer and the next instruction executes but no PDF conversion has been done
Is there a setting to run PDFCreator silently and not activate the .jpg application during conversion? The following options are set in code
.cOption("UseAutosave") = 1
.cOption("UseAutosaveDirectory") = 1
.cOption("AutoSaveFormat") = 0
.cOption("RunProgramAfterSaving") = 0
.cClearCache
.cDefaultPrinter = "PDFCreator"
.cOption("AutoSaveDirectory") = sTargetPath
.cOption("AutoSaveFilename") = sTargetPDF
Thanks for your help