>I'm using follwing code for automating IE 5
>
>oBrowser = CREATEOBJECT("InternetExplorer.Application")
>oBrowser.Visible = .t.
>oBrowser.Navigate("
http://www.microsoft.com")
>
>* In-Between these lines I want to wait till microsoft.com is fully displayed, then move on to next line...
>
>oBrowser.Navigate("
http://www.yahoo.com")
>
>
>I'm question is how to check whether the last navigated site was completed displayed or not...
>(something like If oBrowser.LastPageOk()...)
>
>TIA...
There may be an event that tells you when navigation is complete. You can expose the IE events and hook VFP code to them by using the VFPCOM.DLL
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer