anib Posted May 4, 2009 Posted May 4, 2009 (edited) Hello everybody How do i use the class or objet (system.globalization.regioninfo) to return the values of "ISOCurrentSymbol / CurrentSymbol/ ect.." or "ISO Code 4217> EUR" return that all countries contain eur Is this possible? URI_MSDN : RegionInfoOr other solution for my first projet ?is possible to return all global const for in exe or dll ? Thanks a lot Edited May 4, 2009 by anib nacerbaaziz 1 Me frappe pas !! je débute dans le monde du code :)Un novice avertit en vaut dix sans ennuie ;)AuToiT-FR
nacerbaaziz Posted July 2, 2020 Posted July 2, 2020 can any one please shows as how to do that because i need to extract all countrys name using this wey i hope can any one give us the solution
Musashi Posted July 2, 2020 Posted July 2, 2020 6 hours ago, nacerbaaziz said: because i need to extract all country names using this way Since you have already raised the thread from the dead, I will also reply here . (Next time better start a new thread) Try this : #include <APILocaleConstants.au3> #include <WinAPILocale.au3> #include <Array.au3> Global $aGeoID = _WinAPI_EnumSystemGeoID() Global $aGeoFriendlyNames[UBound($aGeoID)][3] $aGeoFriendlyNames[0][0] = UBound($aGeoID) - 1 For $i = 1 To $aGeoFriendlyNames[0][0] $aGeoFriendlyNames[$i][0] = $aGeoID[$i] $aGeoFriendlyNames[$i][1] = _WinAPI_GetGeoInfo($aGeoID[$i], $GEO_ISO2) $aGeoFriendlyNames[$i][2] = _WinAPI_GetGeoInfo($aGeoID[$i], $GEO_FRIENDLYNAME) Next _ArrayDisplay($aGeoFriendlyNames, '$GEO_FRIENDLYNAME', Default, Default, Default, "GeoID |ISO2 |GeoName " ) "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now