473,803 Members | 3,534 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to tell if windows is non-U.S. version?

Hi,

OUr .NET app is written specifically to run on the English version of
Windows server. Some customers are running Windows Frenchm other versions.
I'm not talking about regional settings, but actually French Windows itself.

How can one tell if Windows itself is English, versus French version with
English (U.S) regional settings?

thanks
Robb
Jul 21 '05 #1
5 1274
Hi Robb,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to get the language verison of
the windows system. If there is any misunderstandin g, please feel free to
let me know.

To get the language version in .NET, we can use
System.Globaliz ation.CultureIn fo.InstalledUIC ulture. This property doesn't
depend on the regional setting. For more information, please visit the
following link:

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemglob alizationcultur einfoclassinsta lleduicultureto pic.asp

HTH.

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

Jul 21 '05 #2
Thanks Kevin, that is what I was looking for.

But to test this, how do I check the installed OS language? Right-click on
my computer, look under properties? Or what?

thanks
Robb

"Kevin Yu [MSFT]" wrote:
Hi Robb,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to get the language verison of
the windows system. If there is any misunderstandin g, please feel free to
let me know.

To get the language version in .NET, we can use
System.Globaliz ation.CultureIn fo.InstalledUIC ulture. This property doesn't
depend on the regional setting. For more information, please visit the
following link:

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemglob alizationcultur einfoclassinsta lleduicultureto pic.asp

HTH.

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

Jul 21 '05 #3
Hi Robb,

As far as I know, we just check the language of the os from the appearance
of the menus and start up menus.

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

Jul 21 '05 #4
Kevin,

In this case that isn't possible, because the customer in question is in
Australia. We have asked them to set their regional settings to English(US),
but that has not solved the problem. Via email, we are trying to have them
verify what lang is installed?

thanks
Robb

"Kevin Yu [MSFT]" wrote:
Hi Robb,

As far as I know, we just check the language of the os from the appearance
of the menus and start up menus.

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

Jul 21 '05 #5
Hi Robb,

I'm not quite sure what question your customer is having, because your
original question is how to get the language version of the OS. If they are
using the French version, the InstalledUICult ure property should return the
CultureInfo for French. You can try to ask them what version of Windows
they are using. I think they know the answer themselves. :-)

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

Jul 21 '05 #6

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

Similar topics

303
17797
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. Yahoo store was originally written in Lisp. c. Emacs The issues with these will probably come up, so I might as well mention them myself (which will also make this a more balanced
12
8234
by: Mike Dee | last post by:
A very very basic UTF-8 question that's driving me nuts: If I have this in the beginning of my Python script in Linux: #!/usr/bin/env python # -*- coding: UTF-8 -*- should I - or should I not - be able to use non-ASCII characters in strings and in Tk GUI button labels and GUI window titles and in raw_input data without Python returning wrong case in manipulated
4
5922
by: Jonathan Fine | last post by:
Hello I have written a program that interacts with a command line program. Roughly speaking, it mimics human interaction. (With more speed and accuracy, less intelligence.) It works fine under Linux, using select().
12
7866
by: Robert Mark Bram | last post by:
Howdy All! Is there an easy way to find out the pixel height and width of an image? I want to write IMG tags in this form: <img src="../images/BigM_off.gif" width="173" height="169" name="BigM" alt="Logo Rollover!"> so I am looking for an app or windows thingy that can quickly tell me the height and width of an image. Thanks for any advice!
0
2069
by: Christopher Attard | last post by:
Hi, I need to create a dialog like the 'Add Counters' dialog box in perfmon. I'm using the System.Diagnostics namespace class in .NET and I've managed to do it. The problem arises when I'm using such dialog box on a non-English Windows OS (I'm currently testing on Spanish WinXP Professional). I'm noticing that on non-English Windows OS there are some categories whose
7
2640
by: Tyler Foreman | last post by:
Hello, I have a strange problem that occurs every so often in my application. It usually takes place when I hide one form and activate another. What happens is I get the following exception: System.ArgumentException occured in System.Windows.Forms.dll
0
1388
by: Fiona McBride | last post by:
Hi all, I have a really odd problem with some Visual Basic .NET 2003 code; I have a program that creates a number of windows which contain RichTextBox, Timers (disabled) and menus. The code runs fine and creates the windows as required, BUT if the program is left to do nothing for several hours, when it is brought back into focus it generates an exception error (Object reference not set to instance of an object - this always coincides...
3
2424
by: Jon Slaughter | last post by:
I'm tryign to display my own title bar. I've created a window without one but with a menu. The menu though is located in the upper left corner and I need to move it down. I need to set the client windows location but I can't seem to get the menu to move as it always starts at the upper left of the form. I want basically to have the form work exactly like its suppose to but implement my own title bar. i.e., I don't want to have to position...
15
2694
by: E-Dot | last post by:
I am trying to write a program which asks the user to enter a number in the interval , the program then gives the natural logarithm of that number, using the series for log(x+1)... Here is what I have so far and can't figure out what i'm doing wrong. any help would be greatly appreciated, thanks guys... #include <stdio.h> #include <math.h>
0
10317
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10295
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9125
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5501
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5633
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4275
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2972
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.