How to detect what version of OS
-
Hi all, How could i know Window is English version or Japanese version or Chinese version through vb.net code?
You can look at the current culture of the UI using:
Imports System.Globalization
.
.
.
Console.WriteLine("Current UI Culture: " & CultureInfo.CurrentUICulture.Name)A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Hi all, How could i know Window is English version or Japanese version or Chinese version through vb.net code?
Hi, I had a bit of a trawl through MSDN for this and I think this is what you want. Click Here The part you probably want to look at is... "Use the LanguageDesignation property to return a three-letter abbreviation for the language used for the operating system. The following statement returns "enu" as the language designation abbreviation for the English (US) language. currSystemLanguage = System.LanguageDesignation" Let me know if this is of any use. Regards Guy;)
You always pass failure on the way to success.
-
Hi, I had a bit of a trawl through MSDN for this and I think this is what you want. Click Here The part you probably want to look at is... "Use the LanguageDesignation property to return a three-letter abbreviation for the language used for the operating system. The following statement returns "enu" as the language designation abbreviation for the English (US) language. currSystemLanguage = System.LanguageDesignation" Let me know if this is of any use. Regards Guy;)
You always pass failure on the way to success.
That's not part of the .NET Framework. That's a FrontPage library.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
That's not part of the .NET Framework. That's a FrontPage library.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007oops - sorry:sigh:
You always pass failure on the way to success.