Auto Fill username and password
Hello guys!
I want to autofill the username and password field by my vb program. My Program contains webbrowser control
and needs to autofill and invoke the signin button.
I already have the experience with autologin of gmail,yahoo... But here my problem is i cant find the tag name or name of the field which i want to fill the value...
Here the url which i want to autofill : http://webuzz.im/mail/
Its just look like gadget something, how to do? any help would be appreciated!
Advance thanks
Re: Auto Fill username and password
you can fill the boxes like
vb Code:
wb.Navigate2 ("http://webuzz.im/mail")
Do Until wb.readystate = 4
DoEvents
Loop
Set ele = wb.document.getelementbyid("login-box").document.getelementsbytagname("input")
ele(0).Value = "pete"
ele(1).Value = "password"
but filling them by code does not run the javascript to enable the sign in button
you can click the button like
vb Code:
Set ele = wb.document.getelementbyid("login-box").document.getelementsbytagname("button")
ele(2).Click
but this will do nothing until the button is enabled
Re: Auto Fill username and password
First of all thanks and Sorry for late reply! Let me try out now and post...
Re: Auto Fill username and password
Quote:
Originally Posted by
westconn1
you can fill the boxes like
vb Code:
wb.Navigate2 ("http://webuzz.im/mail")
Do Until wb.readystate = 4
DoEvents
Loop
Set ele = wb.document.getelementbyid("login-box").document.getelementsbytagname("input")
ele(0).Value = "pete"
ele(1).Value = "password"
but filling them by code does not run the javascript to enable the sign in button
you can click the button like
vb Code:
Set ele = wb.document.getelementbyid("login-box").document.getelementsbytagname("button")
ele(2).Click
but this will do nothing until the button is enabled
Your code is working perfectly, but need to enable the button to automate...
Is it any other way to enable the sign in button while form loading???
Re: Auto Fill username and password
turns out to be really simple
before the click