New Forum | Previous | Next | (P-PDF) Developers
Topic: Save AS Dialog 'View PDF File
Conf: (P-PDF) Developers, Msg: 59029
Date: 5/29/2002 05:36 PM
We've written an APP in Visual FoxPro that automatically generates output to PDF files. This program only runs on NT or Win2000.
sample VFP code is-
set printer to "PDFwriter"
report form to file "c:\filename.pdf"
We then run some MAPI calls and e-mail the file and remove the PS.PDF it creates. Its very simple and works great in over 100 sites. No UI takes place or is need 100% unattended.
However one customer has random episodes of the Viewer popping up which interrupts our app when we try to clean up the tempfiles. For example, the 1st form generates fine, but the 2nd form in the same run gets this viewer to appear.
I have had them log in a Administrator and UnCheck the 'View PDF File' option in the Save AS dialog box. Restart NT. This writes back to the registry and sets the Bexecviewer entry to 0. This has suppressed the viewer from popping up in all cases except this one site.