Hi,
Im trying to click a button on http://www.threatexpert.com/submit.aspx but my code does not want to fill it in.
It fails are the
Form2.WebBrowser1.Document.GetElementById("txtEmail").SetAttribute("value", TextBox1.Text)
Form2.WebBrowser1.Document.GetElementById("File").InvokeMember("click")
If Form2.WebBrowser1.Document.GetElementById("File").GetAttribute("value").ToString = vbNullString Then
Form2.WebBrowser1.Document.GetElementById("File").InvokeMember("click")
Form2.WebBrowser1.Document.GetElementById("txtEmail").SetAttribute("value", TextBox1.Text)
Else
WebBrowser1.Navigate("javascript: WebForm_DoPostBackWithOptions(btnSubmit")
End If
What is wrong with my code
Cheers