Explain about Visual basic.NET culture?
3617
28-Mar-2011
Updated on 22-Sep-2020
Amit Singh
29-Mar-2011http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo%28v=vs.71%29.aspx
Amit Singh
29-Mar-2011One of the first things to understand is that culture information is maintained by the current Windows thread in the value of Thread.CurrentCulture. So to check for the culture in a given Windows environment, use this code ...
On my computer, this gives a result of "en-US". If I change the value to Slovenian in Windows XP, (Start > Control Panel > Date, Time, Language and Regional Options > Regional and Language Options, the program reports "sl-SI" instead.
To set the value of CurrentCulture to a given culture using VB.NET, just assign the correct value. Technically, this creates a new, neutral object and then assigns "Slovenian" to it. Since this only affects the current thread, the culture settings of the computer aren't changed.
Amit Singh
29-Mar-2011http://www.startvbdotnet.com/language/
Amit Singh
28-Mar-2011