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 external Adobe Reader process in Visual Basic 6
DescriptionThis example shows how to open a PDF file in an external Adobe Reader process in Visual Basic 6.
KeywordsPDF file, Adobe, open PDF file, Adobe Reader, Adobe Acrobat, Acrobat, Visual Basic 6
CategoriesWindows, Files and Directories
 
Use the ShellExecute API function to "execute" the file. If Adobe Reader is installed, it should open the file.
 
ShellExecute ByVal 0&, "open", txtFile.Text, _
    vbNullString, vbNullString, SW_SHOWMAXIMIZED
 
 
Copyright © 1997-2010 Rocky Mountain Computer Consulting, Inc.   All rights reserved.
  Updated