Dim Username, Password As String Username = TextBox3.Text Password = TextBox4.Text Form2.WebBrowser2.Document.GetElementById("email").SetAttribute("Value", Username) Form2.WebBrowser2.Document.GetElementById("pass").SetAttribute("Value", Password) Form2.WebBrowser2.Document.GetElementById("loginbutton").InvokeMember("click") If not Form2.WebBrowser2.Document.All.Item("Button3") Is Nothing) then MsgBox("Incorrect Username/password , ", 0, "Login error!")</pre>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)