Results 1 to 5 of 5

Thread: [RESOLVED] Country

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    UK, Suffolk
    Posts
    319

    Post [RESOLVED] Country

    Is there away to get your Local Country? Is is specified in the Regional Settings in Control Panel

    Cheers
    Last edited by drawlings; Nov 9th, 2006 at 07:17 AM.

  2. #2
    Hyperactive Member josep's Avatar
    Join Date
    Sep 2006
    Location
    Barcelona
    Posts
    409

    Re: Country

    If you are using 2005 you can check

    my.Computer.Info.InstalledUICulture
    Useful links:DB connection strings ADO.NET VB.NET Tutorials

    • Don't forget to close the thread if solved
    • If this post helps you rate it

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    UK, Suffolk
    Posts
    319

    [2005] Re: Country

    Thanks Josep, but I can only seem to return 'English (United States)' etc...

    I need it to return something like 'United Kingdom' which is located under the location section of the Regonal settings

    Thanks

  4. #4
    Hyperactive Member josep's Avatar
    Join Date
    Sep 2006
    Location
    Barcelona
    Posts
    409

    Re: Country

    OK

    Try that

    System.Globalization.RegionInfo.CurrentRegion
    Useful links:DB connection strings ADO.NET VB.NET Tutorials

    • Don't forget to close the thread if solved
    • If this post helps you rate it

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Location
    UK, Suffolk
    Posts
    319

    Re: Country

    Superb Josep. Once again you came to rescue.

    Thanks for your help again

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