|
-
July 6th, 2010, 02:08 PM
#1
WebBrowser Input Problem
Hi, i'm trying to make my program login into www.lockerz.com, and use txtEmail.text, and txtPass.text for the email and password feilds, the email feild works fine and input's the text from txtEmail into the email feild, but the password feild doesn't seem to work, i get runtime error 91, if any of you could take a look at the site's html, and see if you could get it working i'd appreciate it, thanks in advance
-
July 6th, 2010, 02:30 PM
#2
Re: WebBrowser Input Problem
Email works, but PW doesn't because of the tag
Code:
<input id="email-email" type="text" name="handle" value="" />
<noscript><label for="password-password" id="combo-label" class="no-js">Combination</label></noscript>
<input id="password-clear" type="text" value="Combination" />
<input id="password-password" type="password" name="password" value="" />
<input id="sumbitLogin" class="signin" type="submit" value="Sign In" />
-
July 6th, 2010, 02:41 PM
#3
Re: WebBrowser Input Problem
Is there anyway to get it to work?
-
July 7th, 2010, 03:00 PM
#4
Re: WebBrowser Input Problem
If we told you, they'd ban you, and just change it again. We can't help break the rules of a site
-
July 11th, 2010, 02:34 PM
#5
Re: WebBrowser Input Problem
The following works in VB.Net 2008.
Code:
WebBrowser1.Navigate("www.lockerz.com") ' Follow this with some code to wait for page ready
WebBrowser1.Document.Forms.Item(0).GetElementsByTagName("INPUT").Item("handle").InnerText = TextBox1.Text
WebBrowser1.Document.Forms.Item(0).GetElementsByTagName("INPUT").Item("password").InnerText = TextBox2.Text
WebBrowser1.Document.GetElementById("sumbitLogin").InvokeMember("click")
I'm sure it will work in VB 6.
If you want I will post the VB.Net project for you.
-
July 11th, 2010, 11:17 PM
#6
Re: WebBrowser Input Problem
 Originally Posted by dglienna
If we told you, they'd ban you, and just change it again. We can't help break the rules of a site
BTW please do no destroy the earth with this as I have no where else to Live. !!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|