Home All Groups Group Topic Archive Search About

DWebBrowserEvents2 events question...

Author
11 Jul 2006 11:32 PM
ewahl
Hi. I am working with a WebBrowser object in .Net, and I am trying to
capture events that happen during a redirect. I have some code that
captures events in DWebBrowserEvents2, and I have discovered that
DownloadBegin and DownloadComplete are called at the beginning and end
of each page call. However, from within the DownloadBegin and
DownloadComplete events, I cannot figure out how to know which URL is
being downloaded, or examine things like cookies that are passed back.
Can somebody please help me with this? Note that capturing
BeforeNavigate2 and DocumentComplete is not sufficient for my purposes,
because these only get called once each for the whole naivgation
process, not for each redirect. Thanks much in advance!

-Eric

AddThis Social Bookmark Button