Thanks for the info. I have also looked at some other OLEcontrol PDF readers, including Foxit, but they usually have a dll that depends on the installation of the software. So I would need to install the foxit reader at the clients computer, and that would be too much trouble.
I will give it a try. Have not seen the attachment however.
>As you can hardly predict which PDF reader Internet Explorer or Edge will use to embed the PDF, you may want add a PDF reader OLEcontrol in your form instead, such as
PDFxChange viewer (royalty free, included in FoxInCloud's base classes).
>
>Attached is the "PDFxChange viewer" object model; unfortunately, I could not find a .search() method; maybe you could inquire further.
>
>update: weird, the screenshot is attached but does not show up on my end…
>
>
>>I have a form where the user can open a PDF document and it gets displayed in the webbrowser control. Is there a way to do a search/Highlight on the open document?
>>
>>Or alternatively, activate the PDF reader's search dialog? Most users will have Adobe Reader set as default program, so I wonder if there is any way to access the functionality of the control that is handling the document in the browser window.
>>
>>Thanks for any ideas.
Christian Isberner
Software Consultant