Solved

How to store data in other languages in Visual Basic controls?

Posted on 2002-06-26
2
191 Views
Last Modified: 2013-11-25
I need to store data in other foreign languages in Visual Basic Controls such as Combo boxes or List Box or displaying Text ove buttons etc. Please suggest the appropriate answers.
0
Comment
Question by:Prateeks
[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
2 Comments
 
LVL 6

Accepted Solution

by:
marconovaro earned 50 total points
ID: 7112876

You have to use a resource file.
First of all, you can load the resource editor in VB6 with the menu Addin->Addin Manager.
Then, you have to create a resource file and write there the strings.

Each string shall have a different identifier, that you will use to load the string like this:

label1.Caption = LoadResString( 123 )

You can have different languages in the resource file, and VB will load the correct language depending on the OS you are running on.
Hope this helps you.
Marco.
0
 

Author Comment

by:Prateeks
ID: 7148880
thanks for the reply!
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

734 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