Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IE ActiveX
Message
De
28/04/2001 02:13:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
IE ActiveX
Divers
Thread ID:
00501196
Message ID:
00501196
Vues:
58
I have just begun experimenting with the InternetExplorer control. Most of it seems to be going well,
but I have one puzzling problem. When navigating to a site, I am checking both IE's ready state as well
as the documents ready state. When they both indicate the page is loaded, I am running the following code:

FOR EACH oLink IN oIEobj.Document.Links
SELECT tblMain
REPLACE displaytxt WITH oLink.InnerText
REPLACE url WITH oLink.HREF
ENDFOR

The code runs fine on some pages, but on others, it really has problems. It either tells me that the
object oLink.InnerText does not exist, or it gives a fatal error and crashes out to the os. Any hints
would be much appreciated.

Also, is there anything in the document's object module that gives you the meta tags or other html header
info? I could not find it if there is.

Thanks in advance

John Dennis
Répondre
Fil
Voir

Click here to load this message in the networking platform