Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading an HTM file
Message
De
25/03/2012 18:28:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01538744
Message ID:
01539333
Vues:
149
Thanks!

>You can use the InternetExplorer.Application or Web Browser control to load up the HTML and then parse it using the HTML DOM. Depending on the complexity of the document it's going to be easier to parse through the document by elements and find the appropriate ones than using STREXTRACT() to screen scrape effectively.
>
>Hopefully the HTML document is reasonably well structured so you can find the appropriate elements easily (by ID, Element type or subgrouping).
>
>+++ Rick ---
>
>>Hi All:
>>
>>My client receives purchase orders in HTM format. He now prints them and enters them manually into his accounting system. He wants to read them in VFP and process them programatically.
>>
>>Any pointers on how to read a .HTM file in VFP?
>>
>>Thanks,
>>
>>Yossi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform