>>>I need to process a file through a web site. The web site will return a value for each record processed. I have been given access to 2 methods to accomplish the goal:
>>>
>>>1) Send the information via TCP/IP communication to the web site and get the return value
>>>2) There is a C exe that I can call, sending it the information and letting the C routine call the web site and return the value to Foxpro
>>>
>>>Any suggestions on the best method?
>>>
>>
>>
>>Rick Strahl's wwIPStuff has a method (HTTPGet) that takes a URL as a prameter and returns the contents of the page to a string. So to get the HTML for UT's front page into a string:
>>
>>oIP = CREATEOBJECT('wwIPStuff')
>>lcPAgeString = oIP.HTTPGet("
http://www.universlathread.com")
>>
>>You can download this class from here in the files section.
>
>
>If I can't get to the web page, is there a way to call an external C program and get a value?
>
>Pf
I don't understand. What value is a C program going to return to you?
You can build a COM object with C++ and call it from VFP...
Erik Moore
Clientelligence