Getting Regional Settings

Started by
3 comments, last by osc4r 19 years, 10 months ago
How do I get/set the regional settings used by the computer such as: The decimal symbol; The digit grouping symbol; The short date format; The date separator. Thx in advance.
Advertisement
-GetNumberFormat
-GetNumberFormat
-GetDateFormat
-Not sure if a date separator exists for all locales. Use the built in functions instead.
http://msdn.microsoft.com/
GetLocaleInfo gives you all info you need.
I have read some forums about those functions and they do seem to tell me what I want to know.

The problem is I can't get them to work in vb.net.

I came across some code in http://www.a1vbcode.com/snippet.asp?ID=1552 (how the hell do I put links here?) of how to make it in vb5/6 but I can't get it to work in vb.net.

Can someone give me a hand?


Thx in advance.



[edited by - osc4r on June 3, 2004 5:05:18 AM]

This topic is closed to new replies.

Advertisement