Private Sub Enter_Click(ByVal Sender As Object, ByVal k As System.Windows.Forms.KeyEventArgs)
If k.KeyCode = Keys.Return Then
Dim MyTextBox As TextBox = DirectCast(sender, TextBox)
MyTextBox.SelectedText = "<End>"
MyTextBox.SelectionStart = MyTextBox.Text.Length
k.SuppressKeyPress = True
End If
End Sub
Dim myElement as HtmlElement
myElement = Webbrowser1.document.GetElementById("The name of the element here")
Dim Value as String = myElement.GetAttribute("value")
MessageBox.Show("Here is the value: " & Value)