By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,465 Members | 1,497 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,465 IT Pros & Developers. It's quick & easy.

Web Browser Object Question

P: n/a
Hi,
I'm working with VS 2005.

I'm using a WebBrowser object that has an even called DocumentCompleted.
The thing is this even is called whenever a frame of the page has been
completed and I want it to be only when the entire page is downloaded.

Any ideas?
Thanks in advance.
Kfir.
Mar 30 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You can query the ReadyState property of WebBrowser on each
"DocumentCompleted" event.

--
Abhijeet Dev

"Kfir Marouani" <kf***@flashnetworks.com> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
Hi,
I'm working with VS 2005.

I'm using a WebBrowser object that has an even called DocumentCompleted.
The thing is this even is called whenever a frame of the page has been
completed and I want it to be only when the entire page is downloaded.

Any ideas?
Thanks in advance.
Kfir.

Mar 30 '06 #2

P: n/a
Thanks. It seems to work.

Althought there are still some sites that are splited so it "thinks" the
same page is two pages.

"Abhijeet Dev" <ms****@abhijeet-dev.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
You can query the ReadyState property of WebBrowser on each
"DocumentCompleted" event.

--
Abhijeet Dev

"Kfir Marouani" <kf***@flashnetworks.com> wrote in message
news:OL**************@TK2MSFTNGP09.phx.gbl...
Hi,
I'm working with VS 2005.

I'm using a WebBrowser object that has an even called DocumentCompleted.
The thing is this even is called whenever a frame of the page has been
completed and I want it to be only when the entire page is downloaded.

Any ideas?
Thanks in advance.
Kfir.


Mar 30 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.