>>>How can I show a pdf file in the webbrowser control?
>>>
>>>thanks
>>>
>>>Peter
>>
>>thisform.oleWebbrowser.navigate('c:\adhoc\test.pdf')
>Sorry I left the most important part of the question out!
>I need to go to a bookmark in a pdf file
>
>Possible??
>
>
I may be wrong, but I think in order to go to the bookmark in PDF you may need to use automation. I'm not sure how would it work with oleWebBrowser control together.
Another idea - Send some keys combination to go to the bookmark. May need experimenting.
Samples of Adobe automation can be found here (require full Adobe installed) and in the Marcia Akins/Andy Kramek "1001.." book.
If it's not broken, fix it until it is.
My Blog