🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #171

Regional Settings (Once or Lots)

#171
From: caleb
Date: Mon, 03 Apr 2006 17:01
35 lines
1544 bytes
Question
--------

How can I change the regional settings -- that is just one time 
in the application?

If I use:
ShortDateFormat = "dd/mm/yyyy"; 

In one function does it have to be stated again in another f();

My problem
----------

If the user has the Windows regional settings to some other
countries, then they receive an error message like:
<___> is not a valid floating point number 
<___> is not a valid date and time


My Question
-----------

Can I set the variables like ShortDateFormat once only or do
they have to be set in functions throughout the application?

Please provide example if possible where you have an English 
(USA) code project that is used once or in every f().  

Pardon my English.

Thanks,

Caleb
Technical Details
Message-ID: <443154db$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,d7065170027a26ac,start
X-Google-Attributes: gid10297d,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "caleb" <n@spam.com>
Sender: "caleb" <n@spam.com>
Reply-To: "caleb" <n@spam.com>
Subject: Regional Settings (Once or Lots)
Newsgroups: borland.public.cppbuilder.internationalization
X-User-Info: 71.99.27.59     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <443154db$1@newsgroups.borland.com>
Date: 3 Apr 2006 10:01:15 -0700
X-Trace: newsgroups.borland.com 1144083675 207.105.83.66 (3 Apr 2006 10:01:15 -0700)
Lines: 35
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail