Click to See Complete Forum and Search --> : extracting text from web pages


lmf232s
06-08-2004, 12:15 AM
I was wondering if anyone know how to in code
refer to any web page(well say click here (http://www.x-rates.com/)
and extract the text from that page. Specifically the exchange rate. Which I can then take and do calculations off of.

I have seen in VB where you can do this.
The string that comes back is an array with a delimiter(,)
so something like "10.2,.054,.0454,"

Any one have any idea on how to go about this.

PeOfEo
06-08-2004, 12:34 AM
Better way would be to access a currency exchange web service and get values from it, I have seen one before. I have not seen how to do this with asp, but I can find how they access it. Buntine can probably help with accessing a webservice in asp classic. If there is a server that you can query you can use a third party socket component and just query it as if you were using winsock in vb6.

Bullschmidt
06-18-2004, 02:50 AM
Using Microsoft's XMLHTTP Object to Get Data From Other Web Pages by Richard Lowe - 11/1/2000
http://www.4guysfromrolla.com/webtech/110100-1.shtml