Retirve current system location specific settings in vb.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arunbojan
    New Member
    • Jul 2008
    • 30

    Retirve current system location specific settings in vb.net

    Hi friends,


    Control Panel -> Regional and Language options will display the current location specific settings such as language [Eg- English [United States] and Short date format [Eg- dd/mm/yyyy] etc. how can we get these information programatically using .NET


    Thanks in advance :)

    Arun.
  • cloud255
    Recognized Expert Contributor
    • Jun 2008
    • 427

    #2
    Hi,

    Code:
    InputLanguage.CurrentInputLanguage.Culture;
    the Culture contains all the region specific details.

    Comment

    • arunbojan
      New Member
      • Jul 2008
      • 30

      #3
      Hi cloud225,

      Thanks 4 ur reply....
      Is there any namespace to be added.... Please let me know .....

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by arunbojan
        Hi cloud225,

        Thanks 4 ur reply....
        Is there any namespace to be added.... Please let me know .....
        System.Windows. Forms .

        Comment

        Working...