Detecting, counting open web browser windows

L

Lloyd Sheen

I am using the WebBrowser control in an application to "screen scrape"
links. The user puts in a URL and the app will then get all links
conforming to a certain pattern. This works well.

Now there are a set of buttons to activate the links "provided" and cause a
download of files thru the browser control. This works well as the IE
dialog to "Open/Save" the file happens and the user can controls this.

Now the problem. If the app is closed while files are downloading then the
active downloads are killed. Is there any way that I can monitor the
download windows and when all downloads are complete then allow, without a
user prompt, the application to end.

If I could monitor at least the number of open windows in the app that
should do it?

Any ideas,
Thanks
Lloyd Sheen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top