cannot open files converted to pdf format

R

Rahul Aggarwal

HI,

I am using the word automation to convert/print word document to pdf format.

I use the method PrintOut2000() for doing this. This method takes a
parameter for the output file name.

If I do not supply anything to this parameter then the PDF is created
perfectly fine, but i am not able to control the location of the pdf file to
save automatically.

If I do supply this parameter with the file name then i am not able to open
the pdf file. It says that "the file cannot be open because it is either not
a supported file type or because the file has been corrupted.


Please can any one tell how to handle this, so that i am able to create a
PDF file from word and save the same to a specific location.

Rahul
 
W

Word Heretic

G'day "Rahul Aggarwal" <[email protected]>,

Are you providing a filename with a .pdf extension?

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Rahul Aggarwal reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top