Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Routines to parse html tables in vfp
Message
 
À
28/03/2001 16:57:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00489286
Message ID:
00490075
Vues:
10
This is very interesting and has tons of possibilities.

Where does one find this information about automating ie like that? I looked in the msdn.microsoft.com stuff but didn't see it there. Is there some utility available that will tell you what automation classes are installed on your machine and what is available to them?


>This should be fairly straightforward by automating IE:
>
>oIE = CREATEOBJECT("InternetExplorer.Application")
>oIE.Navigate("Someplace.com/somefile.htm")
>oTable = oIE.Document.Body.all("mytable") &&assuming the table has an id or name assigned
>FOR EACH oRow IN oTable.Rows
> FOR EACH oCell IN oRow.Cells
> ?oCell.InnerText
> ENDFOR
>ENDFOR
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform