i want to search a string in a webbrowser, called brwWebBrowser.
however, when i use
brwWebBrowser.ExecWB OLECMDID_FIND, OLECMDEXECOPT_DODEFAULT
brwWebBrowser.ExecWB OLECMDID_SHOWFIND, OLECMDEXECOPT_DODEFAULT
it reacts that method ExecWB of object IWebBrowser2 failed (runtimeerror -2147221248(80040100)), and it shows a (win xp) search files and folders dialog... help?
what do you mean? like searching google and entering a string too search it?
it would be done like this:
you would probably need a command button for it too cause validation unless your doing it another way:
if your using google do this:
no i mean like in notepad when you press ctrl+f, search a string in a site...
you don't even have to do that...explorer has "FIND"(ctrl + F) so its useless doing that.
(if your using Microsoft Internet Controls OCX)
yes but i want to add the option in an mdi browser with edit-find...
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center