Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word to PDF. Removing Pop-up of 'Save PDF file as'

Status
Not open for further replies.

Guest
Hi,

I am trying to convert word to PDF using Acrobat / PDFMAker using VB.
I could get it to successfully convert word to PDF i.e. running PDF Maker ,but it pops up a dialog box" save pdf file as" . I want to remove that pop up box and pass a variable of file name etc.

Could you giude me on that?

thanks

Girish

 
Replies continue below

Recommended for you

I'm having the same problem. Does anybody know how to solve this one?
 
put an empty file named "__pdf.ini" in directory:

C:\WINNT\SYSTEM32\SPOOL\DRIVERS\W32X86\2

and you won't have any more the popup.

If you do some good stuff, please inform me.

Tkx

FT
 
Hi, I have the same problem with with the "save as pdf file" ever present pop-up window. I am using pdfwriter version 5.0. I tried creating an empty file named "__pdf.ini" in directory: C:\WINNT\SYSTEM32\SPOOL\DRIVERS\W32X86\2 and I still have the popup. Did it work for you?

I thought that there was a setting somewhere in the registry for that (PDFfileName or FileNameSet...) I will keep on digging.
 
Try using the PDF distiller instead. Make sure you've set the properties to not ask for a file location.
 
Hi - can anyone please provide the code in it's entirety to convert a Word Doc to a PDF? Not just for the "Save As" problem, but the whole Function.

Thank you,
Chuck Foss
 
I'm trying to use VBA to solve this problem.
Still in process...
 
You aren't going to do this easily with adobe software. There are however quite a few pdf writers on the market that will work well. I think docucom worked well. You can set it up so it just creates a particular file in a particular folder each time.
 
I have started a project for converting the Word document files to pdf. Can any body help in this regard.
 
To get the .pdf file format spec you need to go to Wotsit:


and do a search for pdf. It will point you to a 3 meg download of the filespec.

Good luck in you efforts to re-invent the wheel!
[lol]

Hint - There are several freebie convertors out there already - Google will find them for you

Good Luck
johnwm
 
Try this: oWordApp.Application.Quit wdDoNotSaveChanges

Use this code at the end of your procedure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor