Mixx
New member
Hello,
In my application, i want to have 10 webbrowsers, which go to google like this.
So now i will have 10 webbrowsers aimed for google, right? So how do i make a loop that clicks the search button 10 times?
I know i need to use member_invoke like this
But i have no clue how to code the loop. Any tips please?
In my application, i want to have 10 webbrowsers, which go to google like this.
VB.NET:
For i = 0 To 9
Dim Browser As New WebBrowser
Browser.Name = "Browser" & [i]
Browser.Navigate("http://www.google.com")
Browser.Visible = True
Next
So now i will have 10 webbrowsers aimed for google, right? So how do i make a loop that clicks the search button 10 times?
I know i need to use member_invoke like this
VB.NET:
Browser.Document.GetElementById("search").InvokeMember("click")
But i have no clue how to code the loop. Any tips please?