2 Replies - 2720 Views - Last Post: 05 September 2012 - 12:23 AM Rate Topic: -----

#1 proy  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 03-September 12

how to convert doc file to pdf file in vb.net

Posted 03 September 2012 - 07:10 AM

how to convert a doc file to pdf file in vb.net
Is This A Good Question/Topic? 0
  • +

Replies To: how to convert doc file to pdf file in vb.net

#2 BobRodes  Icon User is offline

  • Your Friendly Local Curmudgeon
  • member icon

Reputation: 574
  • View blog
  • Posts: 2,989
  • Joined: 19-May 09

Re: how to convert doc file to pdf file in vb.net

Posted 03 September 2012 - 07:20 AM

Have you googled "convert doc file to pdf file vb" yet?
Was This Post Helpful? 1
  • +
  • -

#3 Windina  Icon User is offline

  • New D.I.C Head

Reputation: 2
  • View blog
  • Posts: 7
  • Joined: 20-August 12

Re: how to convert doc file to pdf file in vb.net

Posted 05 September 2012 - 12:23 AM

.net word component can help you convert your doc to pdf through below three lines of code:

            Dim document As New Document()
            document.LoadFromFile("E:\work\documents\TestSample.docx")
            document.SaveToFile("toPDF.PDF", FileFormat.PDF)

Was This Post Helpful? 1
  • +
  • -

Page 1 of 1