by Michael S. Kaplan, published on 2005/09/22 03:01 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2005/09/22/472614.aspx
HasnKyu Park asked in the newsgroups:
1. Please refer to following table
If I get the GEOID, How can I get the Location string in locale language? for example, with the identifier '0x2', I want to get the "Antigua and Barbuda".
If I get the Identifier, How can I get the Language string in locale language? for example, with the identifier '0x0436', I want to get the "Afrikaans".
Well, both of these are fairly easy, as it turns out....
For #1, you call GetGeoInfo with that GEOID with the GEO_FRIENDLYNAME or GEO_OFFICALNAME SYSGEOTYPE, depending on which you prefer.
For #2, you call GetLocaleInfo with that LCID and one of the various LCTYPE values like LOCALE_SENGLANGUAGE.
In general, those two functions handle the "How do I get ______ from the GEOID/LCID value....
go to newer or older post, or back to index or month or day