web browser control events.

Nov 17 2004 7:04 AM
Hey guys. My first posting so be nice alright!? :) I've been surfing through my web browser control to gather information from website's now for a while but get some annoying results. (using Visual Studio 2003 btw) The event DocumentComplete seems to fire too many times and for some reason I have a hard time working around it. I've tried with bools and ints to make sure but it doesn't seem very full-proof. Is it better to use DownloadComplete instead? Any suggestions on how to work around this problem? I should maybe mention that I have a navigator-method that navigates to the correct page within the site first and that´s why it fires several times as well but it still fires to many times.