Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Searching PDF document
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 10
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01655634
Message ID:
01655641
Views:
51
>>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.
>
>I load a PDF Document into the webbrowser control, and if I right mouse on the document, one of the options is FIND.

Yes the right mouse is working, however the UI offers a standard search button (because other containers can also be loaded) and the user would click on that button. So I have to disable the button if a PDF is loaded, but it is not intuitive for the user.
Christian Isberner
Software Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform