Multilingual support in message box

C

CW

I am having trouble in using MsgBox function to display non-Latin text.

A simple MsgBox txtMyMsg where txtMyMsg contains the non-English unicode
string simply displays gibberish (denoted by ???) on screen.

My dev box has additional language support installed. However, it makes no
difference at all. The solution I end up adopting is to create my own modal
form whereby the a label's caption is loaded at run time.

I don't see this being a very elegant solution, but I can't figure out why
simple MsgBox doesn't work.

Any idea?

I also have a general question on getting multilingual system to work. Each
message, form caption, label caption etc have an associated tag. I have a
message table basically with TagID, LanguageID, ActualText columns to obtain
the text to display at run time. On my dev box, these forms do display
correctly (except when I try to use MsgBox to display non-English
characters). However, on a test platform where it is running non-English
version of Office (and non-English version of Windows), forms sometime
display gibberish.

I have not installed universal font on either my dev box or on the test box.
Could this be my problem? Alternatively, do I need to set FontName on each
of the control (but then again there is no FontName for form caption, and
FontName could be in a different language from English which again cannot be
set by code...well, not directly at least, I would need to again load the
string from my message table).


All suggestions appreciated.

CW
 
T

TC

Are Access message-boxes unicode aware?

Your question >is< an Access question, but you may have more luck in
microsoft.public.win32.programmer.international, or somesuch.

HTH,
TC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top