Home All Groups Group Topic Archive Search About

DateTimePicker in French or English ?

Author
8 Nov 2006 4:45 PM
Marcel Saucier
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 !

Author
9 Nov 2006 5:12 AM
Cor Ligthert [MVP]
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


Show quoteHide quote
"Marcel Saucier" <MarcelSauc***@discussions.microsoft.com> schreef in
bericht news:7D1FFCC1-0671-4B37-BF26-F16B285E50EF@microsoft.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 !
Author
9 Nov 2006 1:16 PM
Marcel Saucier
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 !


Show quoteHide quote
"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" <MarcelSauc***@discussions.microsoft.com> schreef in
> bericht news:7D1FFCC1-0671-4B37-BF26-F16B285E50EF@microsoft.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 !
>
>
>