I have a loop that goes through a number of values. With every value iterated, a page is loaded in a webbrowser control (with the value passed as a parameter) and when the page
I've recently answered a similar question. The solution is in C#, but you can use Async/Await in VB.NET in a very similar way. Using this technique, you would get a natural flow of execution for your code (DocumentComplete event is encapsulated as Task).