Issue with opening PDF file from FilePro

Nancy Palmquist nlp at vss3.com
Wed May 27 12:59:07 PDT 2009


Boaz Bezborodko wrote:
> I'm running FP from Windows and I want to open a PDF file from within FP 
> that was first generated by FP and then sent to Bob's PrintWizard to 
> convert into a PDF.  The thing is that I can't figure out how to tell if 
> the PDF file is ready from withing FP.
>
> I don't want to use a long SLEEP command as some files are ready within 
> a second or two.  But if I open the file too early then Adobe complains 
> about the file being damaged.
>
> Any suggestions?
>
> Boaz
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>   
Boaz,

Trick is to write to file1, at end of PDF conversion rename the file to 
file2.

In filePro, check for exists(file2) eq "1"

When it exists the file is ready to open.

Nancy

-- 
Nancy Palmquist 		MOS & filePro Training Available
Virtual Software Systems	Web Based Training and Consulting	
PHONE: (412) 835-9417		   Web site:  http://www.vss3.com



More information about the Filepro-list mailing list