title: How Do I programatically select text in a webBrowser Control? c#
body: <p>Here's the Problem:
  I want to enable the user of my program to search a webBrowser control for a given keyword (standard Ctrl+ F). I am having no problem finding the keyword in the document and highlighting all the instances using a span and the replace() function. I <strong>am</strong> having trouble getting the "find next" functionlity that I want to work. When the user clicks Find next I want the document to scroll to the next instance. If I could get a bounding box I can use the navigate function. I have this same functionality working in a rich text box using the following code </p>
  
  <pre><code>                //Select the found text
                  this.richTextBox.Select(matches[currentMatch], text.Length);
                  //Scroll to the found text
                  this.richTextBox.ScrollToCaret();
                  //Focus so the highlighting shows up
                  this.richTextBox.Focus();
  </code></pre>
  
  <p>Can anyone provide a methodology to get this to work in a webBrowser? </p>