473,623 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2573
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.mic rosoft.comschre ef in
bericht news:7D******** *************** ***********@mic rosoft.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.mic rosoft.comschre ef in
bericht news:7D******** *************** ***********@mic rosoft.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
3547
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 seem to overcome, is that the english text font size my program thinks is available doesn't seem to be there. Although a line of text printed on a US Windows machine looks fine, when it is printed from this French computer the tabs are over written...
1
1945
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. The French spell checking works find when done directly in the Word window. I have the automatic language detection turned off, the language set to French, and keyboard set to French
18
2602
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 name="description" I find that the inclusion of <q></q> is objected to by the W3 validator. I'm told "< is first character of a delimiter, but occurred as data." I'm having trouble understanding this is significant. Is the "<" definitely to be avoided (by...
2
1789
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. There used to be free dictionaries like this. Any idea where to find these freebies? Thank you.
7
42976
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 do not display the AM or PM when the Regional option is set to french canadian
7
2579
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 any solution that works without problems. Does anybody know where I can find an inherited DateTimePicker that supports databinding and nulll-values? Any links, sample code etc would be really appreciated! It can be for VB.NET 2005, in case that...
5
4071
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 datetimepicker appears? I tried doing this to set it to english, but it would still display the control using the german language:
2
20186
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 application GUI though (and thereby expands dateTimePicker1, showing the dates of the month) at the bottommost I see todays date written in swedish format. Of course I want this to be in english format as well, but how do I do it? thanks.
13
10700
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, for example, Thursday. WeekdayName(DateTimePicker1.Value.DayOfWeek + 1) does not work if you set the default country to say France on your pc as the day that is returned is
0
8227
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8165
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8326
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
8469
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
7150
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...
1
6106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2602
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
1
1778
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1473
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.