473,383 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Getting OS Language ??

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

Regards

Marcelo López
Infocorp
Latin América
Nov 15 '05 #1
5 6594
> 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
Nov 15 '05 #2
And how can i do that ?

regards

"Wiktor Zychla" <ie****@microsoft.com.no.spam> wrote in message
news:el**************@TK2MSFTNGP10.phx.gbl...
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

Nov 15 '05 #3
> And how can i do that ?

FileVersionInfo class, Language field. check shell32.dll or winver.exe.
regards, Wiktor
Nov 15 '05 #4
"Marcelo López" <ma******@infocorp.com.uy> wrote in news:eYdrwXN5DHA.2404
@TK2MSFTNGP12.phx.gbl:
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
Nov 15 '05 #5
Check out the System.Globalization.CultureInfo class. I believe that will
get get you what you want.

HTH
Brian W

"Marcelo López" <ma******@infocorp.com.uy> wrote in message
news:eY**************@TK2MSFTNGP12.phx.gbl...
How can i obtain the language installed in the pc where my win app is
running ??

Regards

Marcelo López
Infocorp
Latin América

Nov 15 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

303
by: mike420 | last post by:
In the context of LATEX, some Pythonista asked what the big successes of Lisp were. I think there were at least three *big* successes. a. orbitz.com web site uses Lisp for algorithms, etc. b....
20
by: Mark Hahn | last post by:
Prothon is pleased to announce another major release of the language, version 0.1.2, build 710 at http://prothon.org. This release adds many new features and demonstrates the level of maturity...
7
by: Miguel Manso | last post by:
Hi, list. I'm into a psicological doubt that I would like to share with you (you'll know why later on this mail). I'm a programmer with 5 year of experience into Perl. I'm on that point where...
80
by: Bibby | last post by:
Hi, I'm interested in getting started in the programming world. I've dabbled in C, C++ and VB6. Which would be the best language to focus my attention to regarding the following considerations: ...
30
by: Stuart Turner | last post by:
Hi Everyone, I'm working hard trying to get Python 'accepted' in the organisation I work for. I'm making some good in-roads. One chap sent me the text below on his views of Python. I wondered...
2
by: MSK | last post by:
Hi, Continued to my earlier post regaring "Breakpoints are not getting hit" , I have comeup with more input this time.. Kindly give me some idea. I am a newbie to .NET, recently I installed...
1
by: simbarashe | last post by:
Hie could someone please help me with getting and using the current page url. I have a function that gets the url, I want to use it with header(location : XXX) but it wont work. The code is as...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.