Home
Search
 
What's New
Index
Books
Links
Q & A
Newsletter
Banners
 
Feedback
Tip Jar
 
C# Helper...
 
XML RSS Feed
Follow VBHelper on Twitter
 
 
 
MSDN Visual Basic Community
 
 
 
 
 
TitleOpen a PDF file in an Adobe Reader control within an application in Visual Basic .NET
DescriptionThis example shows how to open a PDF file in an Adobe Reader control within an application in Visual Basic .NET.
KeywordsPDF file, Adobe, open PDF file, Adobe Reader, Adobe Acrobat, Acrobat, Visual Basic .NET, VB.NET
CategoriesWindows, VB.NET, Files and Directories
 
This only works if you have Adobe Reader installed. Then:

  1. On the Toolbox, right-click and pick "Choose Items."
  2. Click the "COM Components" tab.
  3. Select "Adobe PDF Reader" and click OK.
  4. Add a PDF reader to the form.

Now you can use the reader control's src property to open the PDF file.

 
pdfReader.src = txtFile.Text
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated