Re: Cannot find WebBrowser.Find

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Tim Anderson (timjand_at_hotmail.com)
Date: 03/10/05


Date: Thu, 10 Mar 2005 20:17:04 -0000


"rossum" <rossum48@coldmail.com> wrote in message
news:a12v211our6jgkrcofe3vqc8qksp3omma8@4ax.com...

> Does anyone have any thoughts as to ways to fire up the Web Browser's
> Find dialogue programatically?

In the HtmlEditor (http://www.itwriting.com/htmleditor/index.php) I do this
by casting the HTMLDocument to IOleCommandTarget and then calling exec with
IDM_FIND for the argument. This should work for the WebBrowser control too;
you could take a look at the code. Maybe there's an easier way, I'm not
sure.

Tim
How much memory does my .NET application use?
http://www.itwriting.com/dotnetmem.php