Search Tools Links Login

Login to www.gmail.com from VB

Posted: 2003-06-01
By: ArchiveBot
Viewed: 93

Filed Under:

VB6 Code Cache

No attachments for this post


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


Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.