Login to www.gmail.com from VB
![Visual Basic 6, or VB Classic Visual Basic 6, or VB Classic](https://www.fortypoundhead.com//assets/img/icons/v7/vb6.png)
Log into www.gmail.com or any website. :) useful!
Original Author: EGL
API Declarations
'ADD webbrowser control to form
'Internet Control component!
Code
wb.Navigate "https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&continue=http%3A%2F%2Fgmail.google.com%2Fgmail%3Fui%3Dhtml%26zy%3Dl"
Do Until wb.ReadyState = READYSTATE_COMPLETE
DoEvents
Loop
On Error Resume Next
wb.Document.Forms(0).email.Value = "username"
wb.Document.Forms(0).passwd.Value = "password"
wb.Document.Forms(0).submit
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.