Solved

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

Posted on 2009-05-06
6
168 Views
Last Modified: 2013-11-27
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?

Thanks.

Mike
0
Comment
Question by:missionarymike
  • 3
  • 2
6 Comments
 
LVL 32

Expert Comment

by:Daniel Wilson
ID: 24321093
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?
0
 

Author Comment

by:missionarymike
ID: 24321141
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.

Example:
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.

Mike
0
 
LVL 2

Expert Comment

by:danls
ID: 24321194
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:
<appSettings>
      <add key="PROGRAM_NAME" value="ProgNam" />
</appSettings>

Open in new window

0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:missionarymike
ID: 24321309
I am using Visual Studio Express 2008 and designing a windows form application.

Mike
0
 
LVL 2

Accepted Solution

by:
danls earned 500 total points
ID: 24321374
Maybe something like this works for you?

http://geekswithblogs.net/akraus1/articles/64871.aspx

Regards,

D
0
 

Author Closing Comment

by:missionarymike
ID: 31578786
Very, Very informative.

Thank you.

Mike
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
error email attachment VB2010 5 39
GUI: DIalog Stacking and Popping in MS C++ 4 74
Using MS Code on my Mac 6 68
What .NET website keeps me current? 9 70
This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question