Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stock Prices
Message
From
17/01/2004 15:32:15
 
 
To
16/01/2004 09:10:27
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00867456
Message ID:
00867833
Views:
25
The following code will retrieve stock price and other info from Yahoo!

oxmlhttp = createobject('microsoft.xmlhttp')
lcurl = 'http://finance.yahoo.com/d/quotes.csv'
oxmlhttp.open('POST', lcURL, .F.)
oxmlhttp.Send('s=MSFT,IBM&f=sl1d1t1c1ohgv&e=.csv')
* ? oxmlhttp.responsetext
* STRTOFILE(oxmlhttp.responsetext, 'c:\temp\mystockinfo.txt')
thisform.txt_response_string.value = oxmlhttp.responsetext
thisform.Refresh
RELEASE oxmlhttp
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform