Solved

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

Posted on 2002-06-26
2
186 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
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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 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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now