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 6
DescriptionThis example shows how to open a PDF file in an Adobe Reader control within an application in Visual Basic 6.
KeywordsPDF file, Adobe, open PDF file, Adobe Reader, Adobe Acrobat, Acrobat, Visual Basic 6
CategoriesWindows, Files and Directories
 
This only works if you have Adobe Reader installed. Then:

  1. On the Toolbox, right-click and select Components.
  2. Select the "Adobe Acrobat 7.0 Browser Control Type Library 1.0" and click OK.
  3. 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