473,396 Members | 1,789 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,396 software developers and data experts.

DateTimePicker in French or English ?

Hi Everybody,

At run time, regardless of the computer regional settings, is there a simple
way of swtiching the DateTime Picker in French (fr-CA) or in English (en-US)
depending of the user selection.

The user of my small application can switch the entire application to French
or English, but I dont know how to work with the DTP, that stays only in
English because of my computer regional settings.

I have tried the Culture functions with no luck.

Marcel


--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !
Nov 8 '06 #1
2 2554
Marcel,

The DateTime picker should act as are the system settings of the user.

In my opinion is the best is to do nothing about that.

It has not only to do with the language, but as well with the way the date
time is showed.
In Canada by instance it is like the complete English speaking world is
using on computers with English settings (with the exception of the USA). In
French Canada it is like the the French system.

You can set those settings to test in the language config of your computer
(assuming it is an NT type OS).

I hope this gives some idea's

Cor
"Marcel Saucier" <Ma***********@discussions.microsoft.comschreef in
bericht news:7D**********************************@microsof t.com...
Hi Everybody,

At run time, regardless of the computer regional settings, is there a
simple
way of swtiching the DateTime Picker in French (fr-CA) or in English
(en-US)
depending of the user selection.

The user of my small application can switch the entire application to
French
or English, but I dont know how to work with the DTP, that stays only in
English because of my computer regional settings.

I have tried the Culture functions with no luck.

Marcel


--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !

Nov 9 '06 #2
Thanks Cor, you are right. There is no need to play with the langage because
of the user computer settings. I realize that after my posting,

Marcel

--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !
"Cor Ligthert [MVP]" wrote:
Marcel,

The DateTime picker should act as are the system settings of the user.

In my opinion is the best is to do nothing about that.

It has not only to do with the language, but as well with the way the date
time is showed.
In Canada by instance it is like the complete English speaking world is
using on computers with English settings (with the exception of the USA). In
French Canada it is like the the French system.

You can set those settings to test in the language config of your computer
(assuming it is an NT type OS).

I hope this gives some idea's

Cor
"Marcel Saucier" <Ma***********@discussions.microsoft.comschreef in
bericht news:7D**********************************@microsof t.com...
Hi Everybody,

At run time, regardless of the computer regional settings, is there a
simple
way of swtiching the DateTime Picker in French (fr-CA) or in English
(en-US)
depending of the user selection.

The user of my small application can switch the entire application to
French
or English, but I dont know how to work with the DTP, that stays only in
English because of my computer regional settings.

I have tried the Culture functions with no luck.

Marcel


--
Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
programmer under Windows !


Nov 9 '06 #3

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

Similar topics

3
by: Salgoud Dell | last post by:
I have a VB6 application running on a French computer using Windows ME. The app doesn't work the same way as it does when running on an English Windows OS. The main issue I have, that I can't...
1
by: Pater Maximus | last post by:
I want to use the MS Word spell checker from my Python program. I check the spelling a word at a time. It works fine for English but I can not force it to use French when I am using that language....
18
by: Haines Brown | last post by:
In XHTML docs, I find that the W3 Validator raises an objection to my headers without actually invalidating the document. Not in <title></title>, but in meta name="abstract" and...
2
by: fkissam | last post by:
I would like dictionary databases to translate for English to French AND English to Spanish. I am looking to put in on my PalmOS V5. If they are in PC format, I can convert them for my Palm. ...
7
by: Guy Corriveau | last post by:
Got a dateTimePicker o o.Format = DateTimePickerFormat.Custom; o.CustomFormat = "MM/dd/yyyy hh:mm tt"; the previous code work well when the Regional option is set to english Canadian but...
7
by: Pieter | last post by:
Hi, I'm looking for a DateTimePicker that supports 100% databinding (and support null-values)... It's a shame that the normal control doesn't, but when searching on the internet, I didn't find...
5
by: Josef Brunner | last post by:
Hi, I have an application that enables the user to switch between (so far) 2 different languages. Now I need to display a datetimepicker. How can I switch / control the language the...
2
by: marcussilfver | last post by:
I want to change the culture on a DateTimePicker The code below works somewhat. I get the date in english format when dateTimePicker1 is not expanded. When I click dateTimePicker1 in my...
13
by: John | last post by:
Hi I have a simple requirement but finding it very difficult to implement correctly. I have a datetimepicker, all what i want to do is simply to get the string day name of the selected date,...
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:
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
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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,...

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.