Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting HTML from Web Browser control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00573402
Message ID:
00573434
Vues:
26
>>
>>Hmmm...it still can't find the DOCUMENT member. I'm firing this DO WHILE in the Init() of the form, right after the Navigate() method that sets the URL (I know it's a good URL, since it's our company's own site).
>>
>>If I suspend, wait a few seconds, and then RESUME, it works like a champ.
>>
>>I'm thinking an old-fashioned "timing loop" is called for here...any other more OOP-y ideas? (bg)
>
>This seems to work:
>
Do While Type("This.WebControl1.Document.Readystate")="U"
>Enddo
Good idea...I'll try that one in a second.

I just tried this and it seems to work as well:
DO WHILE THIS.WebControl1.ReadyState # 4  && READYSTATE_COMPLETE
ENDDO
Many thanks for all your assistance...I think we've got this one knocked.
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform