How to highlight (select) text in webbrowser control

  • Thread starter Thread starter kimiraikkonen
  • Start date Start date
K

kimiraikkonen

Hi,
I can determine a specific text on a webpage in webbrowser control
using "webbrowser1.Document.Body.InnerText", but i want to select /
highlight the text using my own implementation instead of using CTRL +
F keystroke.

Example:
If webbrowser1.Document.Body.InnerText.contains("mytext") = True Then

' Select "mytext" in webbrowser

End if

How to do this?

Thanks

Onur Güzel
 
Back
Top