Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with the Webbrowser Control in VB
Message
 
To
13/02/2003 13:43:43
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00752471
Message ID:
00752890
Views:
22
This message has been marked as the solution to the initial question of the thread.
You can use the same code I have already gave you for IE with the WebBrowser!
Private mblnDownloadCompleted As Boolean

Private Sub Command1_Click()
    mblnDownloadCompleted = False
    With WebBrowser1
        .Navigate2 "www.hotmail.com"
        Do While Not mblnDownloadCompleted
            DoEvents
        Loop
        .Document.All("login").Value = "uid"
        .Document.All("passwd").Value = "pwd"
        .Document.Forms(0).Submit
    End With
End Sub

Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
    mblnDownloadCompleted = True
End Sub
>I would have to change the website to be able to pass the login/password to the webserver like that, wouldn't I? Right now, it is expecting a post from two text boxes.
>V
>PS - So no one knows where any browswer programming information is (other than the lousy SDK)?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform