Previous | Next | (P-PDF) Developers
Topic: Bypassing the SaveAs Dialog
Conf: (P-PDF) Developers, Msg: 52058
From: nehk
Date: 5/29/2002 04:49 PM
You can bypass the Save As Dialog dynamically
using the register key functions in ADVAPI32.DLL
set the acrobat pdf writer "PDFFilename" or "bDocInfo" key dinamically in WINNT. The process is different for for WIN98 since the settings are taken from
the Win.ini file rather than the registry. In this caseyou will have to set the value in the Ini file usingWritePrivateProfileStringA('Acrobat PDFWriter', 'PDF Filename',"", sWinPath)(kernel32.dll).
This will require you to set the value of the acrobat PDF Writer in the ini before calling the function.
You can do this by openin the ini and after the prots section typing
[Acrobat PDFWriter]
PDFFilename=
bDocInfo=0
Hope this helped. Sen email if you need furter explanation. The lit from adobe onthis subject really stinks.
On 9/13/00 12:16:00 PM, SDyke wrote:
>I am developing a FoxPro
>database app. I need to create
>pdf files programatically from
>preselected report names. I
>have some code using the
>pdfmon.dll that works great on
>my machine but it will not
>work on other machines. Please
>help.