|
-
Sep 27th, 2000, 01:41 PM
#1
Thread Starter
Hyperactive Member
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?
-
Sep 27th, 2000, 01:45 PM
#2
Fanatic Member
-
Sep 27th, 2000, 03:57 PM
#3
Fanatic Member
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
-
Sep 28th, 2000, 12:24 AM
#4
Thread Starter
Hyperactive Member
Dim, i dont want to show the hotmail login page, just to save time, this is the main purpose of my program.
-
Sep 28th, 2000, 05:40 AM
#5
Fanatic Member
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

-
Sep 28th, 2000, 05:50 AM
#6
Frenzied Member
You may have to change any relative references in the page to absolute. Maybe.
Harry.
"From one thing, know ten thousand things."
-
Sep 28th, 2000, 12:25 PM
#7
Thread Starter
Hyperactive Member
thanks for the tips people.
-
Oct 14th, 2000, 10:33 AM
#8
transcendental analytic
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|