Hi all. VBForums have been helping me a lot last days... but i'm stuck in this problem.

I've a loop, and inside that loop, wich is for every regist in my database, I execute a link in the IExplore object, which returns a string into it. Then, i copy the string inside the object into a vb string, do my operations, then move to the next regist and do the loop again.

The trouble is:
When i make the object browser navigate, first time it return as error when cathing the browser result into the string, because the code procedes without the browser finish his operations.

I've tryed this:

VB Code:
  1. Do While objbrowser.Busy = True
  2.   DoEvents
  3. Loop
And it loops for ever and ever and ever...

I've tried the Sleep function... and as i thought, it freez all the code.

And i've tried either the NavigateComplete procedure, of the ObjBrowser, but it never trigers, when executing code.

So... i'm stuck

Is there anyway to only procede executing the code, when the ObjBrowser.Navigate event finish?

Ty in advance