Re: Foreign Language Support
- From: "Peter Jamieson" <pjj@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 26 Jan 2006 17:19:10 -0000
Well, you didn't say anything about where you were getting the text from so
I guessed. When I select a Word in Cyrillic script here (Word 2003) and add
it to a Listbox using the code I provided, it works just fine, which
suggested you might be doing something different.
So...
Which version of Word are you using?
Is your Russian text in a regular font such as Times New Roman, or a
specialised Cyrillic font?
Can the font you're using in your Listbox display Cyrillic characters (here,
I'm just using the default font).
Does the other example I provided with the ChrW functions in it work or not?
Peter Jamieson
"George Lee" <GeorgeLee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:21419405-873C-46FA-8B03-A46E1BA43A9A@xxxxxxxxxxxxxxxx
> Then I don't understand your question. The Russian is already in the
> document
> and it may be a significant amount. When I get ranges that include Russian
> characters, they show up as "?"s in the List or ListView.
> Are you saying I have to manually convert each character? The time needed
> to
> do that may be worse than the first problem.
> Alternately, can the language of the List or ListView be changed?
>
> "Peter Jamieson" wrote:
>
>> As an experiment, if you enterone of the Words you want in your document,
>> select it, then use e.g.
>>
>> myForm.myListBox.AddItem Selection.Text
>>
>> does the text display correctly?
>>
>> If you are trying to use literals within your VBA code, I think you will
>> need to spell the words out using ChrW functions, e.g.
>>
>> myForm.myListBox.AddItem ChrW(&H409) & ChrW(&H40A)
>>
>> etc.
>>
>> Peter Jamieson
>>
>>
>> "George Lee" <GeorgeLee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:3DC80529-A8DA-4C80-B30C-35C1EB5B240E@xxxxxxxxxxxxxxxx
>> > I'd like to add American and Russian words to a List or ListView
>> > control.
>> > By
>> > default, Cyrillic characters show up as question marks.
>> >
>> > How is this done?
>>
>>
>>
.
- Follow-Ups:
- Re: Foreign Language Support
- From: George Lee
- Re: Foreign Language Support
- References:
- Re: Foreign Language Support
- From: Peter Jamieson
- Re: Foreign Language Support
- Prev by Date: table
- Next by Date: Version between 9.0 and 11.0?
- Previous by thread: Re: Foreign Language Support
- Next by thread: Re: Foreign Language Support
- Index(es):
Relevant Pages
|