CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: .Doc to .PDF ??

  1. #1
    Join Date
    Jun 1999
    Location
    Switzerland
    Posts
    398

    .Doc to .PDF ??

    I have a set of (~1000) MS Word documents. I would like to
    programatically open one by one, convert it to PDF format
    and save the file without any user action.

    Is it possible to do that in VB? Can anyone point me to the
    right direction.

    Leica Geosystems - when it has to be right

  2. #2
    Join Date
    Aug 2001
    Location
    New York, USA
    Posts
    169

    Re: .Doc to .PDF ??

    You need to install Adobe Acrobat 4.0/5.0 full version on that machine then "Acrobat PDFWriter" and "Acrobat Distiller" will appear in the Printers folder in settings. Then I believe you need to configure Adobe Acrobat PDFWriter or Distiller in the registry. Also, you may need to set PDFWriter as your default printer.

    After that, you can use Shell or ShellAndWait to open the word doc and use the print command programmatically to conver the doc to PDF.

    Anyway, here's their site. It's a good site and has a lot of helpful tips.

    http://www.adobe.com/search/main.html



    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured