Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Network:
Windows 2003 Server
>Not at all!
>But when You need to get result content,
>just re-assign
>oDoc=oIE.Document
>oContent=oDoc.documentElement
>and get content with
>oContent.innerText or innerHtml
>
>One else thing when You work with InternetExplorer.Application.
>Insert after Navigate
>Do while oIE.readyState !=4
>doevents
>Enddo
>
>This prevents You from errors when web-server is busy.
>
>Wbr,
>Juri
Thanks, i will keep this code for the next time.
I use
DO WHILE oIE.Busy()
DOEVENTS
ENDDO
to wait until the page is loaded otherwise the 'items' you mentioned in your code aren't available. If you run the code all at once it is necessary.
seeya...
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement