Get stock quotes on the web with the ASP Stock Quote Demo.

This sample demonstrates how easy it is to get files or data from an Internet resource ASP with PowerTCP Web for ActiveX. This sample connects to "finance.yahoo.com" on port 80 (the well-known port for HTTP). An HTTP GET request is then sent for the Yahoo Stock Quote Display Page, specifying the stock quote to get as a query string parameter in the url. This causes the Yahoo server to return an HTML formatted page containing the information for the stock quote, including the current price. The current price is then parsed from the response and displayed.

Launch the Stock Quotes on the Web in ASP Sample Now.

This script could be modified to perform a myriad of tasks. Write an automatic script that gets the contents of an HTML page, parses it for data, then writes the data to a database. Access financial, weather, or news pages to add your own stock, weather, or breaking news "ticker" to your page, automatically updated every refresh!

If you are interested in this sample, be sure to see these links: