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 gkittelson 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 PDF files.

Status
Not open for further replies.

jmc014

Technical User
Nov 24, 2007
80
ES
Hi,

Is there any way to view PDF files in an OLE Image box in the same way as it can be done with an image.

Like may others, I use the below code for viewing .JPG files:

Filename = Link_NDC
Image.Picture = Link_NDC

Can something similiar be used to view PDF files?

Thanks,
 
Use the adobe reader active x control

Private Sub Form_Current()
Dim ac As AcroPDF
Set ac = Me.AcroPDF4.Object
ac.LoadFile Me.pdfPath
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top