T
the_only_steven
Hello all,
I'm trying to make my program autologin in a website but it isn't
really working.
The website has 2 textfields one for user name and other for pw.
When you filled in those you click the button (like on all websites).
I found how to fill in the 2 textfields but with the button i have a
problem.
This is the sourcecode from the website
<b>Username:</b></font><br>
<input type="text" name="login_username" size="20"><br>
<font color="#FFFFFF" face="Verdana" size="2">
<b>Password:</b></font><br>
<input type="password" name="login_password" maxlength="16"
size="20"><br>
<input type="submit" value="Login"></p>
the 2textfields are done like this
DirectCast(GetCurrentWebForm.item("login_username"),
mshtml.HTMLInputElement).value = Text
DirectCast(GetCurrentWebForm.item("login_password"),
mshtml.HTMLTextAreaElement).value = Text
The problem with the button is that it doesn't have a "name".
Anyone knows how i can click this button then?
ty,
Steven
I'm trying to make my program autologin in a website but it isn't
really working.
The website has 2 textfields one for user name and other for pw.
When you filled in those you click the button (like on all websites).
I found how to fill in the 2 textfields but with the button i have a
problem.
This is the sourcecode from the website
<b>Username:</b></font><br>
<input type="text" name="login_username" size="20"><br>
<font color="#FFFFFF" face="Verdana" size="2">
<b>Password:</b></font><br>
<input type="password" name="login_password" maxlength="16"
size="20"><br>
<input type="submit" value="Login"></p>
the 2textfields are done like this
DirectCast(GetCurrentWebForm.item("login_username"),
mshtml.HTMLInputElement).value = Text
DirectCast(GetCurrentWebForm.item("login_password"),
mshtml.HTMLTextAreaElement).value = Text
The problem with the button is that it doesn't have a "name".
Anyone knows how i can click this button then?
ty,
Steven