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. Visual Basic
  4. how to get the language of the application

how to get the language of the application

Scheduled Pinned Locked Moved Visual Basic
tutorialquestionannouncement
2 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.
  • S Offline
    S Offline
    Stephan Wright
    wrote on last edited by
    #1

    hy everyone! Is there a chance to get the language of the Word programm? Because I do want to do the following: If it is english then set constants to the english version, if it is German then set it to the german version etc. So I wonder if there is an easy way to get the language to set the constants correctly! So I would be interested what this has to look like in VBA for Word and where it is stored there! Thanks! Stephan.

    D 1 Reply Last reply
    0
    • S Stephan Wright

      hy everyone! Is there a chance to get the language of the Word programm? Because I do want to do the following: If it is english then set constants to the english version, if it is German then set it to the german version etc. So I wonder if there is an easy way to get the language to set the constants correctly! So I would be interested what this has to look like in VBA for Word and where it is stored there! Thanks! Stephan.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Word will use the current Regional and Language Options settings, which in VB.NET, is can be had from the Application.CurrentCulture[^] property. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      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