Auto fill username and password
:) :) :) Here we go Internet VB guy's... I want to have a screen that takes up the entire screen when this "Mail" button is clicked. This screen needs to stay on top unless inactive for 30-45 seconds, then it auto-closes, or it closes when info is entered into it. I want this screen to have 2 text boxes one for a username and one for a password. When this is submitted I want it to submit the username and password to the username and password on Yahoo's mail account.
(this next part is optional, but would be great) If it is correct I want it to display the users email account, if it isn't then I want it to display a message saying "Sorry Charlie...".
I'm using VB5 for this and any help is greatly appreciated!
Thks guys,
Matthew C. :) :) :)
Re: Auto fill username and password
i successfully opened the webpage using webbrowser1.navigation control
now
the problem is - when i use Webbrowser1.Document.a.login.value statement
program shows error msg Run Time error "91"
Object variable or with block variable not set
however,my pc only execute webbrowser1.document
please help me as early as possible
thx
Re: Auto fill username and password
Re: Auto fill username and password
Welcome to the forums! :wave:
"Webbrowser1.Document.a.login.value" is just an example... you have to find the correct "path" to the control by looking at the HTML of the page you want to do this...
Another way, is to make a loop in your code that does a "search" for your control in the page/document then returns the control's object, then you can set the value.
By the way, the thread you replied is a 10 year old thread!
Next time create a new thread and copy & paste the link to the thread you want to talk about.
Re: Auto fill username and password
thx sir
i am trying to pass username and password to yahoo mail page
and then hit the Sign In button by code i.e. open yahoo mail
may u please write sample 4 me
thx
Re: Auto fill username and password
i was trying webbrowser1.Document.All.Item("username").Value = "abc"