Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Internationalization / April 2008

Tip: Looking for answers? Try searching our database.

RegionInfo for Bosnia, Malta, Nepal

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
robinbittner - 20 Apr 2008 15:19 GMT
Hi,
I am having problems with RegionInfo for mentined countries. In fact,
there are even more problematic countries, these are just an example.
I try this code:
RegionInfo r1 = new RegionInfo("ba");
RegionInfo r2 = new RegionInfo("mt");
RegionInfo r3 = new RegionInfo("np");

Does anybody know the reason, why I receive the error "Region name xxx
is not supported" ?
Do I need some patch for NET Framework?

My environment: WinXP SP2, NET 3.5 installed.

Roman
Michael S. Kaplan [MSFT] - 21 Apr 2008 06:33 GMT
These regions are not supported on OS you are on or on .NET, sorry.

You can try Vista instead to get them via the OS (though try to use full
culture names instead of just the region or it will still fail), or you can
build custom cultures (same restriction).

Signature

MichKa [Microsoft]
Windows International
Blog: http://blogs.msdn.com/michkap

This posting is provided "AS IS" with
no warranties, and confers no rights.

> Hi,
> I am having problems with RegionInfo for mentined countries. In fact,
[quoted text clipped - 11 lines]
>
> Roman
robinbittner - 22 Apr 2008 07:17 GMT
Hi Michael,
thanks for explanation. In this case, the custom culture will be the
solution for me,
Roman

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.