Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. GetLocaleInfo for .NET?

GetLocaleInfo for .NET?

Scheduled Pinned Locked Moved C#
csharphtmlcomjsonquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alvaro Mendez
    wrote on last edited by
    #1

    What's the equivalent of the Win32 API GetLocaleInfo for .NET? Thanks, Alvaro


    When birds fly in the right formation, they need only exert half the effort. Even in nature, teamwork results in collective laziness. -- despair.com

    C 1 Reply Last reply
    0
    • A Alvaro Mendez

      What's the equivalent of the Win32 API GetLocaleInfo for .NET? Thanks, Alvaro


      When birds fly in the right formation, they need only exert half the effort. Even in nature, teamwork results in collective laziness. -- despair.com

      C Offline
      C Offline
      Chris Jobson
      wrote on last edited by
      #2

      I think the CultureInfo class (from System.Globalization) might be what you're looking for. Chris Jobson

      A 1 Reply Last reply
      0
      • C Chris Jobson

        I think the CultureInfo class (from System.Globalization) might be what you're looking for. Chris Jobson

        A Offline
        A Offline
        Alvaro Mendez
        wrote on last edited by
        #3

        Yes, thanks, that's the one. Do you know if there's a mapping of Win32 APIs to their equivalent namespace.class.methods in .NET. Something like that would help a lot of people like me who are porting apps from Win32/MFC to .NET. For example, I just ran into another one. What's the equivalent for VK_DELETE? Well, I had to search for a few minutes before I discovered the System.Forms.Keys enumeration. Thanks again, Alvaro


        When birds fly in the right formation, they need only exert half the effort. Even in nature, teamwork results in collective laziness. -- despair.com

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups