Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2002-06-26
2
Medium Priority
?
193 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 150 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
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…
Suggested Courses

704 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