473,320 Members | 2,193 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,320 software developers and data experts.

Changing Globalization CultureInfo


Hello everybody;

Somebody has a simple example of like applying to the change of
Globalization to an application MDI with children windows already
opened?

HEY!!: That "located" properties of my controls automatically change
when changing the current culture.

Thanks

Alvaro

PD: I'm using C# language.
Nov 17 '05 #1
2 9719
> Somebody has a simple example of like applying to the change of
Globalization to an application MDI with children windows already
opened?
I'm not sure but you could try this:

Thread.CurrentThread.CurrentCulture = new CultureInfo("en-us");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-us");
HEY!!: That "located" properties of my controls automatically change
when changing the current culture.

Again not sure, but I think controls don't have a culture property. The
culture is set at thread level.

The "Location" property says where a control is positioned in the screen.

Greetings,
Wessel
Nov 17 '05 #2
> Somebody has a simple example of like applying to the change of
Globalization to an application MDI with children windows already
opened?
I'm not sure but you could try this:

Thread.CurrentThread.CurrentCulture = new CultureInfo("en-us");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-us");
HEY!!: That "located" properties of my controls automatically change
when changing the current culture.

Again not sure, but I think controls don't have a culture property. The
culture is set at thread level.

The "Location" property says where a control is positioned in the screen.

Greetings,
Wessel
Nov 17 '05 #3

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

Similar topics

1
by: Gani Pola | last post by:
Can someone please tell me how I can change the date format (e.g dd/mm/yyyy, mm/dd/yyyy) in a configuration file? In my windows app, I can retrieve the windows setting but not my ASP.NET...
0
by: FM | last post by:
Hi, I use the following code to set the current culture. If Not IsNothing(Session("language")) Then System.Threading.Thread.CurrentThread.CurrentCulture = New...
4
by: Boonaap | last post by:
Hi, I have this asp.net application in which the user can choose between three possible languages. NL - FR - EN How can I set the System.Globalization.CultureInfo to three different values,...
5
by: Jason L James | last post by:
Hi have two subroutines that change the currentCulture property of my application. I can call either: System.Threading.Thread.CurrentThread.CurrentCulture = New CultureInfo("en-GB") or:
2
by: jason | last post by:
DOTNET 2.0 VS 2005. My client is saying August 13,2006.. julian date should equal 225. Here's what I'm doing: <%@ Import Namespace="system.globalization" %> <script language="VB"...
2
by: Terry Olsen | last post by:
I'm a bit confused on how to make my app work in all cultures, particularly with parsing the date out of a string. I read dates from different web sites. The formats I've run into include...
5
by: Basildk | last post by:
Hi. I have a strange problem. We have an asp.net application running on several server with different setups. On 2 of our servers we experience that the globalization settings are misbehaving....
1
by: ready2explod | last post by:
Hi Friends, I am new to .NET and need your help to sort out one issue. I want to change the language of my program using following code: ...
0
by: Hvid Hat | last post by:
Hi The following code will give me the month names in the given culture: CultureInfo cultureInfo = new CultureInfo(CultureInfo.CurrentCulture.Name); string months =...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.