Getting OS Language ??

  • Thread starter Thread starter Marcelo López
  • Start date Start date
M

Marcelo López

How can i obtain the language installed in the pc where my win app is
running ??

Regards

Marcelo López
Infocorp
Latin América
 
How can i obtain the language installed in the pc where my win app is
running ??

I think you could check the language version of a vital system component,
like shell32.dll.
Regards, Wiktor Zychla
 
And how can i do that ?

regards

Wiktor Zychla said:
I think you could check the language version of a vital system component,
like shell32.dll.
Regards, Wiktor Zychla
 
And how can i do that ?

FileVersionInfo class, Language field. check shell32.dll or winver.exe.
regards, Wiktor
 
How can i obtain the language installed in the pc where my win app is
running ??

Regards

Marcelo López
Infocorp
Latin América

System.Globalization
string strCurCulture = CulturInfo.CurrentCulture.ToString();

Hope this helps!

Matt
 
Check out the System.Globalization.CultureInfo class. I believe that will
get get you what you want.

HTH
Brian W
 
Back
Top