Problems with Adobe Acrobat Browser Control
i have mysterious problem adobe acrobat browser control.
if start new visualstudio vb-project , add browser control form works fine, pdf shows in control.
if add browser control existing visualstudio vb-project fails. no pdf shows in control , no error occurs.
i grateful ideas how troubleshoot this.
/michael
if start new visualstudio vb-project , add browser control form works fine, pdf shows in control.
if add browser control existing visualstudio vb-project fails. no pdf shows in control , no error occurs.
i grateful ideas how troubleshoot this.
/michael
problem solved.
this code works in new project:
me.axacropdf1.loadfile(path)
me.axacropdf1.setshowtoolbar(false)
but not in old project.
by adding code in old project works.
me.axacropdf1.loadfile(path)
me.axacropdf1.src = path
me.axacropdf1.setshowtoolbar(false)
me.axacropdf1.setview("fith")
me.axacropdf1.setlayoutmode("singlepage")
me.axacropdf1.show()
wonder why....
this code works in new project:
me.axacropdf1.loadfile(path)
me.axacropdf1.setshowtoolbar(false)
but not in old project.
by adding code in old project works.
me.axacropdf1.loadfile(path)
me.axacropdf1.src = path
me.axacropdf1.setshowtoolbar(false)
me.axacropdf1.setview("fith")
me.axacropdf1.setlayoutmode("singlepage")
me.axacropdf1.show()
wonder why....
More discussions in Acrobat Reader
adobe
Comments
Post a Comment