Results 1 to 2 of 2

Thread: Setting regiolnal settings!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 1999
    Location
    SLOVENIA, Europe
    Posts
    110
    How to set regional settings (number) in control pannel.

    I want to set decimal symbol to [ , ] and digit grouping symbol to [ . ];

    Thanks
    Ermin
    Ermin Gutenberger

    VB.NET 2010

  2. #2
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ottawa,ON,Canada
    Posts
    217
    Easy answer, don't! Never ever change a user's selected environment settings through your programs. This is one of the number one ways to get in big trouble from your users, and mess up any number of poorly written apps on the user's computer. If you want your numbers in a certain format use the FormatNumber function, the CInt/CLng/CSng/CDbl functions, and MaskEditBoxes.

    You can change the region settings through API calls, but trust me, you shouldn't take that route.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width