uhh, wtf do we do with this? this is the basics of a fucking web browser
How to check if webpage is loaded or not.
this doesnt fill in the form.
Code:WebBrowser3.Navigate("https://www.*******.com/connect") If WebBrowser3.StatusText = ("Done") Then If WebBrowser3.Url.ToString = "https://www.*******.com/connect" Then WebBrowser3.Document.GetElementById("addresses").SetAttribute("value", TextBox5.Text)
Last edited by ppl2pass; 02-22-2010 at 10:41 PM. Reason: edit
[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 = "https://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
Last edited by NextGen1; 02-23-2010 at 07:49 AM.
Code:Do While webbrowser1.ReadyState <> WebBrowserReadyState.Complete Application.DoEvents() Loop