Search Tools Links Login

Login to www.gmail.com from VB


Visual Basic 6, or VB Classic

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

About this post

Posted: 2003-06-01
By: ArchiveBot
Viewed: 129 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.