Wednesday, October 22, 2008

Easton Sv12 Fastpitch Softball Bat Reviews

Dollar-Peso MX with ASP ASP Whois

There will be some times when you need to know the current price of the dollar in pesos, for this can Use information from some banks, in this case I use the HSBC, after obtaining the info as you can do with her accounts or whatever you want with it.


The system works with the following code:


Response.Buffer = True
 September xml = Server.CreateObject ("Microsoft.XMLHTTP") 
xml.Open "GET", "http://dsrefa01 .hsbc.com.mx / aptrix / InternetPub.nsf / Content / TasasSplash "False
XML.send
String = CSTR (xml.responseText)
PosIni1 = InStr (String," U.S. Dollars ")
PosIni2 = InStr (PosIni1 , Cadena ,"$")
PosFin = InStr (PosIni2, Cadena ,"\u0026lt;") DolarCompra = MID (String, PosIni2, PosFin-PosIni2) PosIni1 = PosFin PosIni2 = InStr (PosIni1, Cadena ,"$") PosFin = InStr (PosIni2, Cadena ,"\u0026lt;") DolarVenta = MID (String, PosIni2, PosFin-PosIni2 ) Set xml = Nothing

the result is in the variables and

DolarCompra DolarVenta I hope you serve something



0 comments:

Post a Comment