Link to home
Create AccountLog in
Visual Basic Classic

Visual Basic Classic

--

Questions

--

Followers

Top Experts

Avatar of Wilder1626
Wilder1626🇨🇦

VB6 - Search word in PDF file
Hi,

I have this application that show me a PDF file from why hard drive into a WebBrowser1.

Beside, i have a textbox where i will have specific words in it.

What i'M trying to do is to be able to double click on a specific word from the textbox and that would find the selected word into the PDF file. And if i click on Find next command, it would search for the next selected word into the PDF file.
User generated image
How can i do that?



Thanks for your help.
Search-word-in-PDF.zip

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Wilder1626Wilder1626🇨🇦

ASKER

Would it be easier to do it if i use AcroPDF1 instead of WebBrowser1?

Avatar of aikimarkaikimark🇺🇸

I would think that a third party tool would be most helpful.  Otherwise, your clients will need to have Adobe, which will add to the cost of your application.

Avatar of Wilder1626Wilder1626🇨🇦

ASKER

well actually, i will be the only one to use it. I won't have that problem as i have Adobe already.

is that still feasible to do?

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


ASKER CERTIFIED SOLUTION
Avatar of aikimarkaikimark🇺🇸

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of Wilder1626Wilder1626🇨🇦

ASKER

Thanks aikimark i now use the search command line parameter.
Visual Basic Classic

Visual Basic Classic

--

Questions

--

Followers

Top Experts

Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.