Help with regional settings - number formats

Associate
Joined
26 Feb 2004
Posts
970
Location
China (Qinhuangdao)
I've recently been told that some of the software we use in UK has been used in a department in Spain, where it failed to work properly, because their regional settings number formats used a comma instead of a dot for the decimal symbol.

Is there a way to find out what they are using in their version of windows, and be able to change it? or at least advise the user to manually change it.

Unfortunately, like most of our software, it's written in VB6, so might not be possible...
 
Probably need to alter the software to handle it or get them to change their windows location settings to UK. :)

Though if its using dates correctly the region settings shouldn't matter.
 
Have a look this overview for writing international code in VB6.

Depending on how complicated your code is, and how many assumptions have been made as to how dates and numbers are formatted, it may just be easier to get them to change their regional settings.
 
Thanks, that link is really useful, didn't even consider the problem with dates - here in China we have the format yyyy/mm/dd, so I'll need to go back though my code and check that too!
 
Back
Top Bottom