Results 1 to 8 of 8

Thread: Hotmail logon

  1. #1

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274
    Hi,
    I am trying to make a program, which inputs the users hotmail login name and password through a standard text box and log the user on to the hotmail server. And then show the contents of his mailbox in a web browser control. Anyone knows how to do that?

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715

  3. #3
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Code:
    WebBrowser1.Navigate "http://www.hotmail.com/"
    'I thin the problem was in the readystate stament.
    Do Until WebBrowser1.ReadyState = READYSTATE_COMPLETE
        DoEvents
    Loop
    WebBrowser1.Document.Forms(0).login.Value = Text1.Text 
    WebBrowser1.Document.Forms(0).passwd.Value = Text2.Text    
    WebBrowser1.Document.Forms(0).proceed.Click
    That will send the values of the textboxes to the webbrowser control. And click the login button. Then the inbox will be displayed.

    Hope that helps,
    D!m
    Dim

  4. #4

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274
    Dim, i dont want to show the hotmail login page, just to save time, this is the main purpose of my program.

  5. #5
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    879

    Talking What you do is this...

    Step 1: Go to their site with internet explorer (Just as if your browsing) Open the source code and copy their entire form and paste it into an empty html document on your hard drive!

    Step 2: You make your program's browser load this page off your hard drive (Which is about 1 million times faster than internet!) and then you make it fill in the blanks just like dim showed you but the last line should be instead of all that WebBrowser1.Document.Form(0).Proceed.Click crap type in the following: WebBrowser1.Document.Form(0).Submit

    That works better and I have tried it many times!
    Visual Basic 6.0
    Visual C++ 5
    Delphi 5


  6. #6
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    You may have to change any relative references in the page to absolute. Maybe.
    Harry.

    "From one thing, know ten thousand things."

  7. #7

    Thread Starter
    Hyperactive Member wasiq's Avatar
    Join Date
    Jan 2000
    Location
    Karachi, Sindh, Pakistan
    Posts
    274
    thanks for the tips people.

  8. #8
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    oetje, the hotmail checker doesn't show anything in the list even if I got 1 new mail? Is that i have to change the preferences or something or do you get anything in the list except for "from: subject:"
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width