AutoSave doesnt work in COM

The save form still pops up. Why?

Does anybody have code that works for AUTO SAVE in com.


 C:\\Program Files\\PDFCreator\\COM

What language?

VB 2008.

 Yup no sample code in version 0.9.8, dunno if it's in 0.9.9. The  VB2005 code sample doesn't load at all in 2008.NET, but you probably just have to modify the header syntax so it matches what 2008 is expecting.

I'm afraid all I have is VB6 code :p

I had the same problem when using the COM interface and Labview. The problem seems to be fixed with version 0.9.9 that I installed this morning.

Thats the version Im using. If someone has code that which makes the AUTOSAVE work in com and VB, please post it.

So you have PDFCreator, fly2pdf.dll, working in VB6? Would you be willing to help?

I am having trouble getting fly2pdf to work in VB6. The print jobs never spool. Instead the print jobs are sent to a physical printer even though PDFCreator is the system default printer.

 I am trying to print multiple documents and combine the documents into one. PDFCreator opens however the documents never show up. The pdfjob.ccountofprintjobs  always stays at zero. I am using

For iPrinters = 0 To Printers.Count - 1
        ' if the specified printer is found, select it and return True
        If Printers(iPrinters).DeviceName = "PDFCreator" Then
            Set Printer = Printers(iPrinters).DeviceName
            Exit For
        End If
    Next iPrinters


With pdfjob
        .cOption("UseAutosave") = 1
        .cOption("UseAutosaveDirectory") = 1
        .cOption("AutosaveDirectory") = sPDFPath
        .cOption("AutosaveFilename") = sPDFName
        .cOption("AutosaveFormat") = 0    ' 0 = PDF
        .cprinterstop = True
    End With

'strFile is the path and filename of the file to send to PDFCreator

lngResult = ShellExecute(Me.hwnd, "Print", strFile, vbNullString, vbNullString, 0)

With pdfjob
        .cprinterstop = False
    End With

'ttlDocs is the count of files sent to PDFCreator

    Do Until pdfjob.ccountofprintjobs = ttlDocs