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

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 1892
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
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
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
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
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
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
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
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
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
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.