New Forum | Previous | Next | (P-PDF) Developers
Topic: Using Distiller in VB with FileSystemObject
Conf: (P-PDF) Developers, Msg: 59658
Date: 5/29/2002 05:40 PM
I have a loop in which I am creating multiple .pdf files using the Distiller driver. The problem is of course that the default file name from Distiller never changes so it overwrites itself, so this is what I have been doing:
obj.PrintOut 'this writes the .pdf file to the dir
objFileSystemObject.CopyFile(default name, new name)
The problem is that when VB gets to CopyFile it can't find the file. There is some Adobe exes running in the background and VB needs to wait for them to finish.
Anyone know any signal to look for?