> Has anyone had the experience of using Delphi and using the PDF writer,
> installed for Adobe Acrobat, to create a PDF file?
> We have an application which assigns the PDF writer printer driver and
> creates the report as a PDF file format and works brilliantly.
> 
> The only thing is that each time the program goes to write to the file
> it calls the 'Save Dialog' box to to confirm the name of the file.
> The report can create a number of different named files but I do not
> want it to call the 'Save Dialog' box each time to confirm the name  for
> each file.
> 
> Has anybody tried this or got any ideas?

1. Get a Temporary filename.
2. Save the file using that name
3. Remove the file.

If this is done in code, I would expect the user won't see any dialogs.

I believe it's also possible to convince the filesystem to delete the file
automatically after closing.

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to