Tutorials

How to convert PDF to Word in VB.NET

Tutorials

How to convert PDF to Word in VB.NET

You can run PDFConvert command-line interface from many programming languages such as C++, C#, ASP, JAVA or Delphi etc.

The VB.NET source code below shows how to convert a PDF file ("c:\pdf\demo.pdf") to Word file ("c:\word\demo.docx"). This code has been tested in Microsoft Visual Studio 2013.

Visual Basic .NET source code sample:
Public Class Form1
  Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Dim ProcessProperties As New ProcessStartInfo
    'Replace PDFConvert directory, source PDF file name and output directory
    ProcessProperties.FileName = "C:\\Program Files (x86)\\PDFConvert\\pdfconvert.exe"
    ProcessProperties.Arguments = " /cs 10000 /i ""c:\\pdf\\demo.pdf"" /o ""c:\\word"" /pwo 2"
    ProcessProperties.WindowStyle = ProcessWindowStyle.Normal
    Dim myProcess As Process = Process.Start(ProcessProperties)
  End Sub
End Class

Check more information of PDFConvert command-line interface.

command line interface