By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,990 Members | 2,324 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,990 IT Pros & Developers. It's quick & easy.

Opening an Adobe Acrobat file Using VB.NET

P: n/a
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?

--
Thanks

Bill Partridge
Nov 1 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Just call Process.Start(), passing the path to the file.

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

-----
Tim Patrick
Start-to-Finish Visual Basic 2005
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?

Bill Partridge

Nov 1 '06 #2

P: n/a
"Bill Partridge" <Bi***********@discussions.microsoft.comschrieb:
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>)'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 1 '06 #3

P: n/a
Tim Patrick <in*****@invalid.com.invalidwrote in
news:e3*************************@newsgroups.comcas t.net:
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.
Nov 1 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.