Re: webbrowser

Tech-Archive recommends: Fix windows errors by optimizing your registry



HtmlElement he = webBrowser1.Document.All.GetElementsByName(name)[0];
he.SetAttribute("value", searchStr);

To click a button use Invokemember("Click")

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
---------

"SushiSean" <SushiSean@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:386D992D-2FF7-477C-BB14-4DCB3E85EA4C@xxxxxxxxxxxxxxxx
I need create some application which will use webbrowser control and make
some action with content.
It should be something like this.
1) open in webbrowser page - http://msdn.microsoft.com
2) in code (!) I should put something in search text box some string
"C# webbrowser control"
3) make click event on button with text "Search"

how I can do something like that? How I can work with content and fill
some
forms
which we have in webbrowser control?


.


Quantcast