Reading lines from text file?

Posts 1–5 of 5 · Page 1 of 1
How to check if webpage is loaded or not.
How to check if webpage is loaded or not.

this doesnt fill in the form.

Code:
WebBrowser3.Navigate("http://www.*******.com/connect")
        If WebBrowser3.StatusText = ("Done") Then
            If WebBrowser3.Url.ToString = "http://www.*******.com/connect" Then
                WebBrowser3.Document.GetElementById("addresses").SetAttribute("value", TextBox5.Text)
uhh, wtf do we do with this? this is the basics of a fucking web browser
[php]WebBrowser3.Document.GetElementById("addresses").S etAttribute("value", TextBox5.Text)[/php]

Replace that with a msgbox just to test it actually gets to that part. If you don't see the msg box
Check:
[php] If WebBrowser3.Url.ToString = "http://www.*******.com/connect" Then
[/php]
to see if the url doesn't change

Check:
[php]If WebBrowser3.StatusText = ("Done") Then[/php]
Try:
[php]If WebBrowser3.ReadyState = True Then[/php]
^Dunno if it's correct all of this is done of the top of my head


@mneep , he was asking for a resolution


Document_Completed Event

or

Readystate=True
Code:
 Do While webbrowser1.ReadyState <> WebBrowserReadyState.Complete

            Application.DoEvents()

        Loop
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us