I have an app that is VB6 and uses CR9. It is running on 2 different PCs, both running W7 SP1. Both have CR installed on them. Both have Adobe Acrobat Standard installed on them.

The program calls a report that creates a PDF on drive c: and then emails to a number of people. When I run it on one PC, not problem. When I run it on the other PC I get

An error occurred: [-2147206462] Dos error. - <followed by name of routine>

It is failing on the line that runs the report

Report.export False

The lines prior are:

Report.ExportOptions.FormatType = crEFTPortableDocFormat
Report.ExportOptions.DiskFilename = "c:\setuplog.pdf"
Report.ExportOptions.DestinationType = crEDTDiskFile


Any ideas?