I'm assuming it leaves immediately? (rather than not at all)
Well, one way would be to set a flag in the DocumentCompleted event -
possibly a (volatile) bool or a ManualResetEvent or something similar; just
include a check on this in the loop. I haven't tried hooking up the code
(because it takes a bit of faffing to get forms working in this way; picking
a server etc), but you could also try simply checking the IsBusy property?
Marc
MeBerserk@gmail.com - 24 Jun 2006 22:44 GMT
THnx for you reply.
I tried somethings already by now =P, but I used Navagated event of
WebBrowser,
this way you can check if the form has been sent. And after that you
can still choose if you want to wait till the document is loaded or
interactive or whatever you want.
> I'm assuming it leaves immediately? (rather than not at all)
> Well, one way would be to set a flag in the DocumentCompleted event -
[quoted text clipped - 4 lines]
>
> Marc