Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Autofill HTML-form
Message
De
26/01/2007 04:27:46
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01189464
Message ID:
01189480
Vues:
8
>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
Fil
Voir

Click here to load this message in the networking platform