|
|
|
| Title | Open a PDF file in an external Adobe Reader process in Visual Basic 6 |
| Description | This example shows how to open a PDF file in an external Adobe Reader process in Visual Basic 6. |
| Keywords | PDF file, Adobe, open PDF file, Adobe Reader, Adobe Acrobat, Acrobat, Visual Basic 6 |
| Categories | Windows, 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
|
| |
|
| |
|
|