Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to view acrobat files

Status
Not open for further replies.

at51178

Technical User
Mar 25, 2002
587
US
HEY GUYS I Know how to knsert the activex control for adobe acrobat into the form but how can I view the acrobat file that is residing in the same folder.
 
set the src property for the control to the file path of the pdf file.
 
I use Microsoft WebBrowser control on the form and navigate the file
Code:
Private Sub Form_Load()
    Dim filename, fullpath
    fullpath = CurrentProject.FullName
    filename = Left(fullpath, InStrRev(fullpath, "\") - 1)
    Me.WebBrowser0.Navigate filename & "\" & "pdffile.pdf"
End Sub

________________________________________________________
Zameer Abdulla
Help to find Missing people
My father was a realistic father; not a vending machine dispense everything I demanded for!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top