Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to be sure of the sequence?
Message
From
23/11/2001 16:42:11
 
 
To
23/11/2001 16:35:52
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00585224
Message ID:
00585246
Views:
29
>>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

I'll try that. Thank you António
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Previous
Reply
Map
View

Click here to load this message in the networking platform