Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Thanks. Anyway, I believe I have sorted out my problem using the following code:

 


Dim myCountry As String

myCountry = Request.UserLanguages(0)

lblCountry.Text  = myCountry

 

Now, what I'm not sure about is whether the code above only retrieves the browser's language or the computer's nationality based on the user's IP.

 

Any help?

 

Hi...

 

You can find a .NET web service for IP to country mapping at this link.

 

http://www.xmlwebservices.cc/index_Samples.htm

 

SJ

Pasquale Esposito

Perugia - Italy

http://www.geocities.com/espositosoftware

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...