General information
Category:
Internet applications
Hi, It seems that ReadState<>4 does not always work. I wonder if there might be more than one frame on the page, each with its own ReadyState? Would you know how to find that out? Is DownloadComplete better? But I don't know how to use it? Below, I have a <--- where I have inserted a manual "wait". Note, I don't have this problem with the Yahoo page but I am using it as an example.
Thanks
STeve
release all like o*
oie=NEWOBJECT("_webform",HOME()+"\gallery\_webview")
myUrl = "www.yahoo.com"
oie.olewebBROWSER.Navigate2(myUrl)
do while oIE.oleWEBBROWSER.ReadyState <>4
enddo
oie.WindowState= 2
oie.AlwaysOnTop= .T.
oie.Show()
oie.olewebBrowser.Document.Forms(0).p.value = "Claudio"
oie.olewebBrowser.document.forms(0).submit()
do while oIE.oleWEBBROWSER.ReadyState <>4
enddo
wait &&<<<<<<<<<<<<<<<----------------------- WAIT
oIE.olewebBrowser.Navigate2(oIE.olewebBrowser.document.links(14).href)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only