Click to See Complete Forum and Search --> : Regional settings detection


mcaron
July 30th, 1999, 07:55 AM
Hello everyone,

Perhaps for some this maybe a simple question. I am having language problems with my applications. How can I detect which keyboard the windows regional settings are set to? My problem is that, for calculation purposes, some keyboard use the "." for separating decimals as in 2.5, 34.78 etc... While others use the "," as in 2,5, 34,78. In order for my applications to do proper calculations, it must find a way to detect these settings. Anyone know how?

Ciao,

Lothar Haensler
July 30th, 1999, 08:09 AM
check out this article by Chris Eastwood
http://www.codeguru.com/vb/articles/1716.shtml

or use the GetLocaleInfo API