>I'm using the WebBrowser object. Here is what I want to do.
>
>get the page URL in web object
>Specify another web page
>DODEFAULT() ;Go to another web page
>get the page URL in web object
>
>
>THe thing is that when I do this it looks like the second time I get the page URL I get the same as the precedent because the DODEFAULT() did'nt end its job yet. It's like because it's an OLE object it's working through its DODEFAULT() code but gives back control to the application before DODEFAULT() is finished.
>
>Is there a way to get the page URL only when DODEFAULT() has finished its job?
I'm not sure if I understood your question properly, but if your app responds to the WebBrowser DocumentComplete event maybe you'll be able to fine-tuning the sequence of events you're trying to control (wait for DocumentComplete;
then go for the next page or whatever needs to be done...)
bye
----------------------------------
António Tavares Lopes