|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Opening an Adobe Acrobat file Using VB.NETHi,
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 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 Show quoteHide quote > 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 > Tim Patrick <inva***@invalid.com.invalid> wrote in
news:e3b4697616b18c8cbd3ed135f84@newsgroups.comcast.net: There is also an embeddable ActiveX object which the OP can use if he/she > Just call Process.Start(), passing the path to the file. > > Process.Start("C:\My Documents\My Acrobat File.pdf") would to embed the PDF directly into an application. "Bill Partridge" <BillPartri***@discussions.microsoft.com> schrieb: 'System.Diagnostics.Process.Start(<file name>)'.> I am using VB.NET 2003 and I want to open up a pdf by pressing a command > button. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> |
|||||||||||||||||||||||