Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading an HTM file
Message
From
25/03/2012 18:28:44
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01538744
Message ID:
01539333
Views:
148
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
Previous
Reply
Map
View

Click here to load this message in the networking platform