Solved

How to change the language of my program

Posted on 2006-11-30
6
177 Views
Last Modified: 2010-04-30
I am making a program with regular programming in Visual Basic  6. My problem is I want to change the language of my program. For example:
 - The Caption of the frmMain Window should change to arabic (The Caption option doesnt make the words clear enough, instead it puts question marks bcuz it cannot identify the font).
 - Secondly, using arabic text in my program anywhere possible.

Anybody know what I should do?
Should I use ID's in VB Resource Editor? Or is there an easier way to add the language instead of english.

Thanks for reading
0
Comment
Question by:Zeyadss
[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
6 Comments
 
LVL 10

Expert Comment

by:Kinger247
ID: 18048898
You'll need to replace all hardcoded text with variables which are assigned via a resource file.
That way, you can use different language resource files for a specific audience.
0
 
LVL 10

Accepted Solution

by:
Clif earned 40 total points
ID: 18048946
Yes, you should use the resource editor.  You will also have to download and install the arabic fonts you wish to use.

For information on how to use the resource editor add-in and how to implement localization, you can check out here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingresourcefiles.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconATMSamApp.asp
0
 
LVL 10

Expert Comment

by:Kinger247
ID: 18049248
Don't understand ??  resouce editor was the right answer for you ... ?
Why grade B ?
0
 
LVL 10

Expert Comment

by:Kinger247
ID: 18049250
Especially for a 40 point question ...
0
 
LVL 2

Author Comment

by:Zeyadss
ID: 18049551
I guess I meant to put Excellent my hand slipped off the radio button. Sorry
:S
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

696 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