Re: Adding pdf.ocx in VB6?
Re: Adding pdf.ocx in VB6?
Re: Adding pdf.ocx in VB6?
hpl,
So on what line do you get an error?
Re: Adding pdf.ocx in VB6?
At this line
Form7.Pdf1.src = "http://www.logstor.com/productcatalogue/uk/uk_4_5.pdf"
Re: Adding pdf.ocx in VB6?
hpl,
The is no such property (src) for a picturebox.
Re: Adding pdf.ocx in VB6?
But I have used this code in 3 years without any problems, but since I've installed Acrobat Reader 7.0 everything is going wrong
Re: Adding pdf.ocx in VB6?
hpl,
Then pdf1 is not a VB6 PictureBox. It must be a Acrobat PictureBox and you must add in the Acrobat component or reference if any.
Re: Adding pdf.ocx in VB6?
I found the pdf.ocx, or at least a trial version of it, anyways.
It cost $50 otherwise.
http://www.soft32.com/download_24138.html
Re: Adding pdf.ocx in VB6?
hpl,
Doesn't the pdf viewer get installed when you install Acrobat? Just add the component to your project.
Re: Adding pdf.ocx in VB6?
You can download pdf.ocx from www.download.com
Re: Adding pdf.ocx in VB6?
Quote:
Originally Posted by randem
hpl,
Then pdf1 is not a VB6 PictureBox. It must be a Acrobat PictureBox and you must add in the Acrobat component or reference if any.
How do I add a Acrobat Picturebox, and where do I add the Acrobat component/object?
Re: Adding pdf.ocx in VB6?
hpl,
In VB6, go to Project->Components then select the component. Then you can add it to your form.
Re: Adding pdf.ocx in VB6?
And what is the component name? I can't find it
Re: Adding pdf.ocx in VB6?
hppl,
Adobe Acrobat 7.0 Browser Control Type Library.
Re: Adding pdf.ocx in VB6?
Great, Now it works, thanks