Solved

Microsoft Web Browser control to open and search text in PDF

Posted on 2014-07-20
1
758 Views
Last Modified: 2014-07-28
Created an Access Form that contains a Microsoft Web Browser control.
The code used in the Form's On Load event is:

Private Sub Form_Load()
    Me.WebBrowser0.Navigate2 "C:\Users\AB\Desktop\Sample.pdf"
End Sub

Works fine.  Next, I want to:

In the Form's On Load event, I want to search Sample.pdf for a text string stored in a string variable.

What's the best recommended way to perform this search using code?  Know that I can use the Adobe Search toolbar.
0
Comment
Question by:clock1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 40207908
There is no VBA method to do this. You'd have to use a 3rd party utility, like the Adobe SDK, to do this.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question