Solved

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

Posted on 2009-05-06
6
171 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

724 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