Page 1 of 1

Help wanted. webbrowser PT.2

Posted: Fri Jul 23, 2010 10:41 pm
by lesan101
okay so i was able to make a log in form that logs into xbox.com

but i want to make the webbrowser1 visible = false

so my question is:
if they put in a wrong email or w/e
how would i make a msg say wrong email?
what is underlined it tells me "expression does not produce a value" <---WTF!


this is my code:
If WebBrowser1.Navigate("https://login.live.com/ppsecure/post.sr ... 1279923679") Then
MsgBox("Please type your e-mail address in the following format: yourname@example.com")
End If

Re: Help wanted. webbrowser PT.2

Posted: Sat Jul 24, 2010 5:15 am
by zachman61
you can't use that you need to use GetelementbyId
and use the id for login & password
Login id
Code: Select all
i0116
Password id
Code: Select all
i0118
login button code
Code: Select all
i0011
i put the source to a project i just made for you in the source code section