I am new to C# and am trying to build a multi-threaded web crawler. I want
to crawl many sites all at once. I know how to use IHTMLDocument2 to parse
the document and can build a crawler that works just fine but all the sites
are being parsed by the main thread. With the WebBrowser control I can start
parsing when I get the Documet_Complete event. How can I do this with each
web site on a different thread? How are the Document_Complete events
handled? This is an Asycronous operation and so I cannot see how it can be
done. What I want is a way to have each webbrowser control (one for each web
site being crawled) to operate on a separate thread. That is what I want but
not sure if it is possible.