Solved

Localize MS common dialog controls

Posted on 2001-06-05
5
217 Views
Last Modified: 2006-11-17
Hello
When using common dialog control in VB, the interface is showed in windows default language.

Suppose I'm using windows with Arabic support, but I need to use common control and be able to control the language they are displayed in, is there any way to do it ?

The problem is when I switch to arabic via CONTROL PANEL and make arabic the default language, then I've got these common dialogs in arabic.

1-What I need is to call them without changing default language ?
(pass the desired language as parameter, for example)

2-the same problem apprear in LoadResString in VB, it always follows the default language, is there another way to pass the desired language as parameter ???

PS: otherwise we have to write our own code to replace lots of important dialogs like :
ShowOpen, showprinter, showsave ...etc.

Thanks,
Gaby.
gaby@alpha.com.lb
0
Comment
Question by:GabyNHADDAD
5 Comments
 
LVL 8

Accepted Solution

by:
glass_cookie earned 50 total points
ID: 6156468
Hi!

As much as I know, there is no section/properties in Common dialog that allows you to change the language of the control.

Maybe commondialog would turn out Arabic with the windows support.  If not... it's just too bad.

Aha!  I've got another idea, but it's only superficial (but wouldn't the title bar suffice?):

Change the title bar of the commondialog control using this code:

Download...
http://www.vb-helper.com/Howto/setcap.zip
Description: Set another application's caption (3K)

Hope it helps!

That's it!

glass cookie :)
0
 
LVL 27

Expert Comment

by:Ark
ID: 6158824
0
 

Author Comment

by:GabyNHADDAD
ID: 6170419
thanks for Ark and for glass cookie
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7132922
Moderator, my recommended disposition is:

    Split points between: glass_cookie and Ark

DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7167903
Points reduced for split and comment accepted as answer.  The other expert can look for their question in this topic area

Computter101
E-E Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Specify ip address in my connection string for sas 2 54
Excel VBA combine two working workbooks 8 47
Macro: print each sheet to pdf using ExportAsFixedFormat 11 41
Help me. 3 48
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…

862 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

23 Experts available now in Live!

Get 1:1 Help Now