Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

osc4r

Getting Regional Settings

This topic is 5281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
-GetNumberFormat
-GetNumberFormat
-GetDateFormat
-Not sure if a date separator exists for all locales. Use the built in functions instead.

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!