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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open pdf file from web 1

Status
Not open for further replies.

sal21

Programmer
Joined
Apr 26, 2004
Messages
500
Location
IT
I need to open a pdf file from a public dir on web.

http:\\
and show it.

note:
the user just have adobe installed on pc.
 
>and show it.

In a browser window? In Acrobat? Another application? On a VB form?
 
On a VB form
Sorry for delay.
 
Then just drop a webbrowser control on the form, and .Navigate to your pdf, e.g.

Code:
[COLOR=blue]Private Sub Command1_Click()
    Form1.WebBrowser1.Navigate2 "[URL unfurl="true"]https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"[/URL]
End Sub[/color]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top