473,386 Members | 1,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Obtaining a List of Countries by Enumerating System GeoIDs

There was a thread recently asking about lists of countries. Here is a
way of getting the Microsoft list!

http://vbnet.mvps.org/ (VBNet, a most useful site)
search for EnumSystemGeoID.

This is in VB.
David

Nov 13 '05 #1
3 2154
David Schofield wrote:
There was a thread recently asking about lists of countries. Here is a
way of getting the Microsoft list!

http://vbnet.mvps.org/ (VBNet, a most useful site)
search for EnumSystemGeoID.


Brilliant, thanks.

I see the code references LCID, which reminds me of another problem I've
had not reallyt related to Access but whilst we're on the subject... :-)

In ASP, I'd like to set the Session.LCID to the browser's country, ATM I
do this by intorrgating HTTP_LANGUAGE_ACCEPT and looking for things like
"en-gb" to set it to the British one, is there a way the above code
could be used?

--
This sig left intentionally blank
Nov 13 '05 #2
On Thu, 13 Jan 2005 08:38:52 +0000, Trevor Best <no****@besty.org.uk>
wrote:
David Schofield wrote:
There was a thread recently asking about lists of countries. Here is a
way of getting the Microsoft list!

http://vbnet.mvps.org/ (VBNet, a most useful site)
search for EnumSystemGeoID.


Brilliant, thanks.

I see the code references LCID, which reminds me of another problem I've
had not reallyt related to Access but whilst we're on the subject... :-)

In ASP, I'd like to set the Session.LCID to the browser's country, ATM I
do this by intorrgating HTTP_LANGUAGE_ACCEPT and looking for things like
"en-gb" to set it to the British one, is there a way the above code
could be used?

--

Hi
I hope not. I feel insecure enough already.

Have you read
http://www.microsoft.com/globaldev/g...RG_lclmdl.mspx

David
Nov 13 '05 #3
David Schofield wrote:
In ASP, I'd like to set the Session.LCID to the browser's country, ATM I
do this by intorrgating HTTP_LANGUAGE_ACCEPT and looking for things like
"en-gb" to set it to the British one, is there a way the above code
could be used?

--
Hi
I hope not. I feel insecure enough already.


o_O
Have you read
http://www.microsoft.com/globaldev/g...RG_lclmdl.mspx


I have now, I'll have to see if it helps in that quest, thanks.

--
This sig left intentionally blank
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Willam Roberts | last post by:
To me, when you enumerate, you make a list of specific items, like enumerating controls in a form. Am I missing something? I mean is there something more to the meaning of the term "enumeration" or...
4
by: Tony | last post by:
Hello, Can someone please point me toward a regular expression that goes through a string and contructs a list of sentences and part sentences, where words are gradually dropped from the front...
4
by: Wally | last post by:
Anyone know how I can access the "inbuilt" list of countries in Windows? Thanks. VV
7
by: David Freeman | last post by:
Hi There! I'm trying to create a User Registration page in ASP.NET and wondering what is the best way to get the list of up-to-date Countries and Cities? Are there any Web Services on the web...
6
by: Samuel Shulman | last post by:
Hi I wander how can I get the a list with all countries and the 2 characters country alphabetic code etc. Thank you, Samuel Shulman
22
by: Ubi | last post by:
I am looking for a list of countries and nationalities, against the top level domain. es: ..ar ==Argentina ==Argentinian ..al ==Albania ==Albanian etc. etc.
3
by: grzegorz.gazda | last post by:
Hi all Is there any limit of images which can be added to a image list. I have a problem with this control. I added an image list in design mode and I am adding images using code. Then I want to...
4
by: shapper | last post by:
Hello, I am getting various records from a database: Dim ds As DataSet = db.ExecuteDataSet(dbc) Each record has 3 fields: Id, Name and Text. I have a class named MyClass with 3 properties...
3
by: =?Utf-8?B?YW1pcg==?= | last post by:
Hi, I have a Generic Object that has a private List field item. I populate the List in a different function I use a FOREACH LOOP with a FindAll function to get all items that have a certain...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.