D
Dave Griffiths
Hi All
Using VB 2005
I am writing a program that will be used on machines which have
different locales (English, Norwegian and Swedish)
I am restricting textbox input using keypress to just numbers, control
chars and the decimal point, my problem is that the decimal point on
English machines is the . (dot) unless specifically changed and on
Scandinavian machines is the , (commer). I could just allow both
through the routine but this then gives an added problem that
scandinavia uses the . (dot) as the thousands seperator which would
really cause some confussion.
How do I check for the decimal point set in the machines locale
setup..?
Thanks in advance.
Using VB 2005
I am writing a program that will be used on machines which have
different locales (English, Norwegian and Swedish)
I am restricting textbox input using keypress to just numbers, control
chars and the decimal point, my problem is that the decimal point on
English machines is the . (dot) unless specifically changed and on
Scandinavian machines is the , (commer). I could just allow both
through the routine but this then gives an added problem that
scandinavia uses the . (dot) as the thousands seperator which would
really cause some confussion.
How do I check for the decimal point set in the machines locale
setup..?
Thanks in advance.