Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Sun, 20 Apr 2008 07:19:45 -0700 (PDT),    group: microsoft.public.dotnet.internationalization        back       


RegionInfo for Bosnia, Malta, Nepal   
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
date: Sun, 20 Apr 2008 07:19:45 -0700 (PDT)   author:   robinbittner

Re: RegionInfo for Bosnia, Malta, Nepal   
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).

-- 

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

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


"robinbittner"  wrote in message 
news:852e2e6c-8c17-4ec6-8710-e0158ba349b6@w1g2000prd.googlegroups.com...
> 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
date: Sun, 20 Apr 2008 22:33:28 -0700   author:   Michael S. Kaplan [MSFT]

Re: RegionInfo for Bosnia, Malta, Nepal   
Hi Michael,
thanks for explanation. In this case, the custom culture will be the
solution for me,
Roman
date: Mon, 21 Apr 2008 23:17:23 -0700 (PDT)   author:   robinbittner

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us