473,513 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Doubt in Regional Options

Hello All!

I have a .Net project that, in my machine, the dates are showed in this
format: dd/mm/yyyy. But, when I install the project in some customer
machines, the date is showed in this format: dd/mm/yyyy hh:mm:ss.

My doubt is, I can resolve this problem on which form?

a) changing the Windows Regional Options
b) setting the Internationalization classes of my AppDomain
c) none alternatives above :pp

If option is A, I didnt find that format to change in Regional Options
(Control Panel). Exists in other place?
If option is B, how can I change that specific date format? This change
affect all assemblies dependant of my AppDomain?
If option is C, I accept any suggestion!!

Tks in advance!

Cesar
Jul 21 '05 #1
2 1901
Hi Cesar,

Before you start changing the settings in your program, some regional
settings in a W98/ME computer are set using the keyboardsettings, did you
try that already?

For the programs you can try
\\\set culture
Dim myCI As New System.Globalization.CultureInfo("nl-NL")
Application.CurrentCulture = myCI

\\\time in other format
Me.Text = Now.ToString("D", New System.Globalization.CultureInfo("es-ES"))

I hope this helps a little bit?
Cor
I have a .Net project that, in my machine, the dates are showed in this
format: dd/mm/yyyy. But, when I install the project in some customer
machines, the date is showed in this format: dd/mm/yyyy hh:mm:ss.

My doubt is, I can resolve this problem on which form?

a) changing the Windows Regional Options
b) setting the Internationalization classes of my AppDomain
c) none alternatives above :pp

If option is A, I didnt find that format to change in Regional Options
(Control Panel). Exists in other place?
If option is B, how can I change that specific date format? This change
affect all assemblies dependant of my AppDomain?
If option is C, I accept any suggestion!!

Jul 21 '05 #2
humm, I can't see any date format settings in Keyboard item in Control
Panel.

But, I will try change the culture, I hope this change affects all
dependencies of my AppDomain, too.

Thx!
Cesar
"Cor Ligthert" <no**********@planet.nl> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
Hi Cesar,

Before you start changing the settings in your program, some regional
settings in a W98/ME computer are set using the keyboardsettings, did you
try that already?

For the programs you can try
\\\set culture
Dim myCI As New System.Globalization.CultureInfo("nl-NL")
Application.CurrentCulture = myCI

\\\time in other format
Me.Text = Now.ToString("D", New System.Globalization.CultureInfo("es-ES"))

I hope this helps a little bit?
Cor
I have a .Net project that, in my machine, the dates are showed in this
format: dd/mm/yyyy. But, when I install the project in some customer
machines, the date is showed in this format: dd/mm/yyyy hh:mm:ss.

My doubt is, I can resolve this problem on which form?

a) changing the Windows Regional Options
b) setting the Internationalization classes of my AppDomain
c) none alternatives above :pp

If option is A, I didnt find that format to change in Regional Options
(Control Panel). Exists in other place?
If option is B, how can I change that specific date format? This change
affect all assemblies dependant of my AppDomain?
If option is C, I accept any suggestion!!


Jul 21 '05 #3

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

Similar topics

1
4829
by: Laurence Neville | last post by:
This is regarding a change in the Short Date format under Hebrew Regional Settings, that has caused huge problems in our ASP web application. The change appears to have been introduced sometime...
2
2788
by: Javier Gomez | last post by:
1-Is it possible to change Window's Regional Options from Access ?? 2-Is it possible to know which Regional Options by defaul is active in Windows (from Access)?? 3-If something is...
2
371
by: Cesar Ronchese | last post by:
Hello All! I have a .Net project that, in my machine, the dates are showed in this format: dd/mm/yyyy. But, when I install the project in some customer machines, the date is showed in this...
16
2909
by: Colmag | last post by:
I've written an application with vb.net 2003 (framework 1.1) which automates a 3rd party viewing/printing application (via an activex control). I've released several versions over the last year...
6
2035
by: Janette | last post by:
Hi, I have done a lot of reading before doing this posting, but I just can't find a solution that makes sense. eg http://support.microsoft.com/default.aspx/kb/306044 - Behavior of Date/Time...
1
2406
by: Luis Lanuza | last post by:
Hi all, I can't get Visual Studio 2003 to recognize my WindowsXP SP2 regional settings. For ex: On Control Panel / Regional Settings / Regional Options Tab, my standadrs and formats corresponds...
4
29838
by: adi | last post by:
Hi I'm using .NET Framework 1.1 My application needs to read the system's language settings. How to do this? Thanks.
2
6343
by: pax | last post by:
Hello there! Here is my problem, in the simplest scenario: - an Access 2000 format database (created with Access 2003) - a simple table that contains one single field defined as Number, Decimal,...
0
1675
by: bvdb | last post by:
Hi Everyone, One of my customers lives in Taiwan and can only make my program work if he changes his Regional and Language Options to English from the Simplifies Chinese that his computer is...
0
7269
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
7177
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...
0
7394
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
7542
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
5701
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,...
0
3248
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...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1611
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 ...
1
811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.