Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

converting word to pdf using visual basic 6.0

Status
Not open for further replies.

lbrooks

IS-IT--Management
Jan 20, 2004
42
US
I need to know how to convert MS word file to pdf using visual basic 6.0. I have installed Adobe acrobat 5.0 and I am trying to use the API to convert the word document to PDF. Any suggestions?
 

Welcome to TT lbrooks, to get the most from these forums please read FAQ222-2244.

When you installed Acrobat 5.0 did it not set up a PDF print driver? If so then you can print directly to that via the ShellExecute "print" verb.

Good Luck

 
Hi,

I am writing a vb program to take the data from an excel spreadsheet and import into word, creating individual documents for each record. I then want to create PDF for each word document and automatically save them to the file system.

Does the print driver provide APIs to do this?
 

It provides a custom print dialog for the user to interact with of which you may be able to get around with an ini file if I remember correctly or by using some api's (not adobes api's).

Good Luck

 

lbrooks, have you read FAQ222-2244 yet? Did you get your system working?

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top