|
-
Mar 18th, 2007, 03:41 PM
#1
Thread Starter
Member
[2005] Adding controls at run time
Hi 
I have a webbrowser that must navigate a couple of sites and do some actions. Now it does everything sequentially (first www.site1.com, then www.site2.com and so on), but i would like to have one webbrowser per site and do everything in parallel (one browser for site1, one for site2 etc.).
I now that I can make a webbrowser at runtime with the statement dim b1 as new webbrowser, but I could do something like this only if I knew how much sites I will have to navigate.
The structure of the code should be something like this:
1. I read the site list
2. I istantiate n webbrowsers (where n is the number of the sites)
3. The webbrowsers navigate each to it's associated site and do the automation
I use the DocumentCompleted event to do all the automation so the webBrowsers should share it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|