• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 810
  • Last Modified:

Microsoft Web Browser control to open and search text in PDF

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
clock1
Asked:
clock1
1 Solution
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now