faqts : Computers : Programming : Languages : Visual basic

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

4 of 11 people (36%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How can I click a submit button programmatically using the webbrowser control

Oct 19th, 2006 03:35
Chad Currie, http://www.blogvoid.com/category/visual-basic/


As long as your submit button has a unique name, as an example let's 
say the html for your submit button is 
<input type="submit" name="save" value="submit">
You could simpulate a "click" on this button by using the following 
code:
WebBrowser1.Document.All("save").Click