Hi guys,
So in my program I have a button that calls a function. Let's call it GotoWebsite(). I also have a listbox that has all of the Url's that we'll be going to. Each site needs to fully load as there are various tasks that need to be completed at each page.
ie:
GotoWebsite(Url1) -> Navigate to Url1. Login to page. Post a message.
->Go to next Website and follow similar procedures.
I have tried foreach loops, Queue's, using DocumentCompleted at the final page of each Url, etc. Nothing I try seems to work.
The end result is always the same: The last item on the list is executed successfully; the rest were rushed through and basically skipped because it went too fast.
Anyone know a way I can make my GotoWebsite() function fully trigger with each Url in a listbox / string array / string list / whatever?