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 4 people (100%) answered Yes
Recently 4 of 4 people (100%) answered Yes

Entry

How do you automatically fill a text input box using the webbrowser control?

Oct 19th, 2006 03:26
Chad Currie, http://www.blogvoid.com/


To automatically fill out a text box in a webpage in a VB project with 
a webbrowser control named WebBrowser1:
WebBrowser1.Document.All("login").Value = "YourValue"
Where "login" is the name of the text box on the form, and "YourValue" 
is the value you wish to set.