|
-
Apr 10th, 2003, 09:24 AM
#1
Thread Starter
Fanatic Member
Controlling PDFs viewed with Acrobat Reader in the Webbrowser object
One way of viewing PDFs in VB6 is to use the standard acrobat reader to view them in the webbrowser object (i.e. using pdf.ocx indirectly).
My question is - if one does that by say
webbrowser.navigate "http://www.vbworld.com/bozo.pdf"
how can one send commands to the adobe plug-in to do things like do thing like hiding the toobar etc.
Here is an example of it being done with scripting http://www.borncity.com/WSHBazaar/News5.htm but I'm not familiar with that so I don't know how to convert it to VB6.
-
Apr 10th, 2003, 10:49 AM
#2
I don't understand, why cross the river to get to the water? Why don't you add the pdf.ocx directly on a form?
-
Apr 10th, 2003, 10:57 AM
#3
PowerPoster
Well
I agree. You can then use...
VB Code:
Me.Pdf1.setShowToolbar False
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Apr 10th, 2003, 11:02 AM
#4
Thread Starter
Fanatic Member
Originally posted by Joacim Andersson
I don't understand, why cross the river to get to the water? Why don't you add the pdf.ocx directly on a form?
Because on this bank of the river Adobe have fouled the water Joacim 
Adobe do not support the use of pdf.ocx embedded in forms and while it worked fine with Acrobat 4 with Acrobat 5.05 there are installation issues with pdf.ocx needing an unknown support file to work in stand alone mode (not pdf.tlb)
-
Apr 10th, 2003, 11:07 AM
#5
Thread Starter
Fanatic Member
Re: Well
Originally posted by James Stanich
I agree. You can then use...
VB Code:
Me.Pdf1.setShowToolbar False
Its a little more complex too as I am using this with a custom acrobat plug-in. Normally this would go in the acrobat reader plug-in's folder. If I'm just using pdf.ocx where would I put my plug-in file ( e.g. myplugin.api )? Putting them in the same directory as the OCX does not work.
Last edited by Kzin; Apr 10th, 2003 at 11:30 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|