How to call PDF Split-Merge application from VB.NET code?

The first, please download and install VeryPDF PDF Split-Merge software from following web page,

https://www.verypdf.com/pdfpg/index.html#dl

You can download it from following URL too,

https://www.verypdf.com/pdfpg/pdfpg.exe

All files will be installed to "C:\Program Files\VeryPDF PDF Split-Merge v3.0" folder in your system.

Now, please run “Microsoft Visual Studio 2010” application, create a blank VB.NET project, copy and paste following VB.NET code into this blank VB.NET project, compile and run it,
============================================
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim newProcess As Process = New Process
        newProcess.StartInfo.FileName = "C:\Program Files\VeryPDF PDF Split-Merge v3.0\pdfpg.exe"
        newProcess.StartInfo.Arguments = """D:\temp\IN.pdf"" ""D:\temp\f709_2011.pdf"" ""D:\temp\_out.pdf"""
        newProcess.StartInfo.UseShellExecute = False
        newProcess.StartInfo.CreateNoWindow = True
        newProcess.StartInfo.RedirectStandardOutput = True
        newProcess.Start()
        newProcess.WaitForExit()
        MessageBox.Show("Finished.")
    End Sub
End Class

image

please click the big button, the VB.NET application will merge PDF files into one PDF file quickly.

============================================

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!