For that, you'll need a dedicated service.
MaxMind's GeoIP :
http://www.maxmind.com/app/ip-location
The APIs are at :
http://www.maxmind.com/app/api
Check it out. If you like it, you may want to purchase their service.
You might also want to check out IP-to-country, although they don't offer
offer cities..
You can download their DB here :
http://ip-to-country.webhosting.info/
They require you to create an account.
Also, there's a free ip->country db at
http://www.hostip.info/
They *do* provide cities.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
===================================