Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading ASP data from a web page to VFP
Message
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00417294
Message ID:
00417329
Views:
18
You might search old messages for posts on MSINET.OCX.

This lets you programmatically load a page, basically assiging the source HTML to a memory variable that you can parse and save as you please.

I believe you can blend this capability with Microsoft's XML parser to automatically parse and then traverse the object hieraarchy if you are using XML for web-centric data transers rather than pure HTML.

In other words, from within VFP:
1. Use MSINET.OCX to get the Web page.
2. Pass page to the XML parser.
3. Walk the object hierarchy generated by the XML parser to get the data elements you want.
4. Process/Store them locally as you choose.

>Our job requires we post and view patient data on web site. We want to more than just view the data, we want to retrieve this data and put in our patient database. I read Erik Moore's article in the June 2000 "FoxPro Advisor" magazine and tried to retrieve the data using InnerText and InnerHTML properties. I received an error message stating my browser, IE 5.0, could not read frames.
>
>I talked to my Director and she indicated that the data we are after is coded in ASP. How can we read ASP data into our VFP tables? I am a new VFP developer and I would greatly apprecieate a place to start with solving this problem.
Previous
Reply
Map
View

Click here to load this message in the networking platform