This is a really easy way for Visual Basic web developers to find out which country their visitors are from.
Just download the Visual Basic (VB.NET) API and the Free GeoLite Country database from MaxMind. I did not need regions or cities. I was not even too worried if the data was less than 99.9% accurate. 99.5% was plenty accurate for a Luddite developer.
In addition to being free, Maxmind get extra points for having a visual basic version which was really easy to copy into my project.
There was one little ooops.
On line 152 of the CountryLookup.vb file I had to make one minor change:
_Address = IPAddress.Parse(_IPAddress) ‘ I Changed the code from _Address.Parse(_IPAddress) to IPAddress.Parse(_IPAddress).
MaxMind offer a number of options starting with their Country Code database and expanding details through Region, City, Metro Code, Organization, ISP and more.
You can can more details of MaxMind’s Geo Location products here.