Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1110
  • Last Modified:

DIsplaying PDF files in a VB6 form

Is there a way to display PDF files in a part of a VB6 form?
0
star4
Asked:
star4
2 Solutions
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
you might want to check in the project components the following:
AcroPDFLib.AcroPDF

and use the LoadFile method of such a control in your form
0
 
Shanmuga SundaramDirector of Software EngineeringCommented:
include the acropdf.dll as reference in your vb form
then copy and paste this code

private sub form_load()
AcroPDF1.Visible = False
AcroPDF1.LoadFile "your filename with path here eg. C:\dss.pdf"
AcroPDF1.Visible = True
Screen.MousePointer = vbNormal
AcroPDF1.SetFocus
end sub
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now