|
|
|
| Title | Open a PDF file in an Adobe Reader control within an application in Visual Basic 6 |
| Description | This example shows how to open a PDF file in an Adobe Reader control within an application in Visual Basic 6. |
| Keywords | PDF file, Adobe, open PDF file, Adobe Reader, Adobe Acrobat, Acrobat, Visual Basic 6 |
| Categories | Windows, Files and Directories |
|
|
|
This only works if you have Adobe Reader installed. Then:
- On the Toolbox, right-click and select Components.
- Select the "Adobe Acrobat 7.0 Browser Control Type Library 1.0" and click OK.
- 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
|
| |
|
| |
|
|