I am creating one application that I will upload later when i finish it (this app is not any kind of "hacking" or any similar programs). But now I got problem, and I cant find solution ...
Problem is next:
Application is automatically logging in on web page :
click here
(it automatically write email, password and press Log In button)
Code for that is :
but there is a problem ...Code:WebBrowser1.Document.GetElementById("accountName").InnerText = TextBox6.Text WebBrowser1.Document.GetElementById("password").InnerText = TextBox7.Text For Each Link As HtmlElement In WebBrowser1.Document.Links If Link.GetAttribute("classname") = "submit" AndAlso Link.InnerText = "Log In" Then Link.InvokeMember("Click") End If Next
when app automatically press Log In button this is what happens :
It actually press anchor but wont log in ... It says Processing and just staying like that ...
here is html code only of anchor :
(for whole html code you have web page link up)Code:<a class="submit" href="javascript:;" onclick="Form.submit(this)" tabindex="3">Log In</a>
So does anyone know solution of this problem because I am so tired of googling ...
Maybe it has some problem with WebBrowser in vb is actually ie ?





Reply With Quote