Although not a VB.net question--although it has a VB.Net solution (Office
Automation), it pricked my interest.
Using Word 2003 and Adobe Acrobat 7 Professional, here is how you can batch
process a folder of Word documents into PDF files.
First open up Word and select Adobe PDF as the printer, then set two of its
properties as follows:
1. Make sure that in the Adobe PDF output folder text box you do not select
"Prompt for Adobe PDF name", but instead browse to the folder where you ant
to put your converted files.
2. Make sure you uncheck the check box for "View Adobe PDF Results"
3. You are not ready to batch convert.
4. In Windows Explorer go to the folder that contains your Word documents,
select the ones to be converted and then right-click on the selection.
Choose "Print" from the options.
5. Each document will open in word and be converted and placed in the output
folder, the document will close, and the next document will be processed.
I do not know what other versions of Word and Acrobat this will work for.
Additionally, I am sure the above could be done with a Macro in Word or
with Office Automation in either VB6 or VB.Net.
"Richard" <Ri*****@discus sions.microsoft .com> wrote in message
news:37******** *************** ***********@mic rosoft.com...
Hi Guys,
Just a short note to ask for a little advice or a push in the right
direction. I have recently been asked to transfer all our exsiting word
documents over on the server to PDF format. The only snag being is that I
don't know how to write the code that will open up a PDF file from within
a
VB6 application to access them. I suppose I am looking for some VB6 code
that I can put behind a command button, which will when clicked bring up
the
PDF file in question and display it on the desktop.
Many thanks in advance.