Link to home
Start Free TrialLog in
Avatar of ManishRanjan
ManishRanjan

asked on

Convert Ms-Word File to PDF File

I have the PDF writer software, which helps us creating PDF files from different formats.  Now I was trying to develop some application which can convert MS-words file to PDF automatically.
Can anybody help in identifying API/DLL s availbale with Acrobat PDF writer. So that I can use it for for application.
OR any other way to do the same
ASKER CERTIFIED SOLUTION
Avatar of bobbit31
bobbit31
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Since you have installed Acrobat this will work too:


    Dim WordDist As AdobePDFMakerX.Word
    Dim WordDistOptions As Object
    Dim WordFilename, PDFFileName as string

    Set WordDist = New AdobePDFMakerX.Word
    Set WordDistOptions = WordDist.Options
    WordDist.ActivateWordAndAcrobat
    WordDist.WordFilename = WordFilename      
    WordDistOptions.ViewPDFFile = False
    WordDist.CreatePDF WordFilename, PDFFileName
    WordDist.DeletePDFMaker10Stuff


Reference "AdobePDFMakerX" and "Microsoft Word 9.0 Object Library" to your project.
Avatar of ManishRanjan
ManishRanjan

ASKER

Thanks a lot.
hello all here

i want to convert word files to PDF files for that i want to know ... where can i get this acrobat distiller or adobePDFMakerX. any sites that can allow a free download for these dlls/exe ?.
or is there any other way to solve this problem ?.

please help me out ...

Mohan G
Acrobat distiller (PDF writer) comes with Licensed version only. PDF reader is available for free on adobe.com. I think you can download Eval version of distiller also from there to start with.