Webbrowser control, when is page running?

S

Scott

I have the webbrowser control on a form by itself. I'm
going to SENDKEYS to it but I can't until the page has
finished loading and is active.

This page downloads in 4 discrete pieces. Each piece
fires various navigation and document complete events so
I'm seeing multiple instances of the same events for one
page. The busy property varies between true and false
during this process. The document property
returns "object" almost right away.

How do I know when the page is truly complete and is
ready to accept data? I don't want to count the number
of pieces downloaded because it could change if the page
is modified.

Any help? Thanks in advance.
-- Scott
 

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