This article demonstrates a way to translate IP address to country of origin using ASP and COM technology. Cool.

http://www.ip2location.com/articles/article1.htm