Question: I want to know how to put text to a website's textbox with VB.NET.
Like when you complete a textbox and press enter.
Something like this:

Dim web as webbrowser

web.document.textbox(1).insert("text")

Answer: 
it would look something like this:

```
WebBrowser1.Document.GetElementById("login_password").SetAttribute("value", TextBox2.Text)

```
As giuseppe has suggested, you need to search for the element in the document and then set it's value property. for example following code logins into website by setting its userId and password textboxes and clicking the submit button.

```
Dim htmlDoc=WebBrowser1.Document
Dim elem_Input_UsrName As HtmlElement = htmlDoc.GetElementById("username")
Dim elem_Input_PssWrd As HtmlElement = htmlDoc.GetElementById("password")
Dim elem_Input_Submit As HtmlElement = getElementByClassName("Submit", "Input", htmlDoc)
If elem_Input_UsrName IsNot Nothing AndAlso elem_Input_PssWrd IsNot Nothing Then
   elem_Input_UsrName.SetAttribute("value", "xyz@ABC.com")
   elem_Input_PssWrd.SetAttribute("value", "yourpassoword")
   elem_Input_Submit.InvokeMember("click")
End If

```