Is it possible to have a language file/module in Visual Studio?

Hello Experts.

Is it possible to have a language file or module in Visual Basic that can be referenced by name?  I know how to do this with "Public Const T = "Test"", but can it be used in the form properties window text field?  Currently this is manually filled in during form design but if a variable could be used to update a similar names, that would be great.

Any ideas?


Who is Participating?
danlsConnect With a Mentor Commented:
Maybe something like this works for you?


Daniel WilsonCommented:
Are you talking about internationalization?  So that you set up a file with, for example, French label text instead of the English in which you initially develop?
missionarymikeAuthor Commented:
Not so much as a foreign language.  But a file containing language variables that can be referenced throughout the program.  That way if you need to change all the references in 100 different locations you just would change it in 1 file and the others would automatically update when the form/page is called.

Language Variable --> Program Name = ProgNam

Use --> Form1.Name = ProgNam

Currently you can specify the text in the form properties window, but I would like to set this programmitically for ease of use.

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

What type of applications are you developing? Web or Windows?

I develop web applications and this sounds like something that would go in the web.config file, as in:
      <add key="PROGRAM_NAME" value="ProgNam" />

Open in new window

missionarymikeAuthor Commented:
I am using Visual Studio Express 2008 and designing a windows form application.

missionarymikeAuthor Commented:
Very, Very informative.

Thank you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.