Hello people :) I need some help. How can I get Webbrowser1 to navigate to each page and wait for the one page to completely load, then move to the next page...?
Thank you for answers in advance! ;)
Example.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Navigate("http://www.google.com") 'Wait for a page to completely load and continue...
WebBrowser1.Navigate("http://www.daniweb.com/forums/") 'Wait for a page to completely load and continue...
WebBrowser1.Navigate("http://msdn.microsoft.com/lt-lt/default(en-us).aspx") 'Wait for a page to completely load and continue...
WebBrowser1.Navigate("http://www.learnvisualstudio.net/") 'Wait for a page to completely load and continue...
End Sub
I tried this, but it doesnt work well.
If WebBrowser1.ReadyState = WebBrowserReadyState.Complete Then
WebBrowser1.Navigate("http://www.learnvisualstudio.net/")
End If