Opening an Adobe Acrobat file Using VB.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I am using VB.NET 2003 and I want to open up a pdf by pressing a command
button.

How do I do this, including passing a filename as a parameter?
 
Just call Process.Start(), passing the path to the file.

Process.Start("C:\My Documents\My Acrobat File.pdf")
 
Bill Partridge said:
I am using VB.NET 2003 and I want to open up a pdf by pressing a command
button.

'System.Diagnostics.Process.Start(<file name>)'.
 
Just call Process.Start(), passing the path to the file.

Process.Start("C:\My Documents\My Acrobat File.pdf")


There is also an embeddable ActiveX object which the OP can use if he/she
would to embed the PDF directly into an application.
 
Back
Top