• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

AcrobatReader 7.0 and VB6

I want to be able to show PDF file inside my vb6 application.
I have already done that with VB6 and AcrobatReader 5.
With Acrobat 5 i have user PDF.OCX it was working good.
In Acrobat7 the PDF.OCX thoes not exist.
What i am supposed to do?
1 Solution
Hmmmmm....just a guess, but can you try to load the pdf into a webbrowser control on a vb form?
as of acrobat 7.0 there is no longer a OCX control - it has been replaced by acropdf.dll.
this won't work in VB6 it will crap out everytime you close the project and reopen it.

I would just use the Acrobat 5 or 6 OCX personally or move to .Net which supports the Acrobat 7.0 control. The ocx from the earlier versions are fine and will serve you well for a while (7 hasn't been massively adopted yet, and by default saves as version 6 anyway)

Failing that you will have to Shell out to open the Acrobat file externally. There are no doubt commercial version of other PDF viewers available

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

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