I have an array with a couple of webpages that need to be sent some information. I have a thread function that gets the link in the parameter and visits that page. I would dont want my application to wait for the page to load each time. So, would it be possible to call the threaded function from a ForEach loop? Would it work?

Recommended Answers

All 3 Replies

I dont want to wait for the page to reply. I just need to send the info out there. Pretty much I was just wondering if I could browse multiple pages at the same time; I would like to know if I can achieve this by putting the function in a thread and launching that thread from a loop.

If you had multiple browser controls, you could thread them. (An example would be tabbed browsing.)

As for one browser control - I am not so sure you can load mutiple pages in one browser.

Here is a nice reference guide for the web browser control.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.