multi language input

  • Thread starter Thread starter rmanchu
  • Start date Start date
R

rmanchu

hi guys

please give me any input that anyone thinks might be relevant even in
the least, as i am stumped!

in a two language form, and everything works fine IF i change the
language manually from the windows langaugebar (taskbar icon) - ie both
language input works fine.

then i wanted to autmate the language change using the
..KeyboardLanguage property of the control but i'm confronted with a
message "The value selected isn't appropriate ..." when i select the
2nd language (which i can correctly see in the dropdown of the
..KeyboardLanguage property). i also tried to set it with VB using
primary language values but ths same result.

the 2nd language (other than english) is a complex right to left script
called "Divehi" comes with WinXP.

any ideas? please help :(

riyaz
 
The Help file on the KeyboardLanguage property suggests that in BVA you'd be
using an integer constant. Unfortunately they don't list (and I don't
know) the constant for Divehi, but maybe you can find it somewhere?
At worst, you might be able to set the KeyboardLanguage to Divehi
manually, and then use the immediate window to evaluate the KeyboardLanguage
property. Chances are it will return the integer you need.
 
hi
The Help file on the KeyboardLanguage property suggests that in BVA you'd be

BVA? VBA? :)
using an integer constant. Unfortunately they don't list (and I don't
know) the constant for Divehi, but maybe you can find it somewhere?
At worst, you might be able to set the KeyboardLanguage to Divehi
manually, and then use the immediate window to evaluate the KeyboardLanguage
property. Chances are it will return the integer you need.

i tried this. the number for english is 9, Divehi is 101, thus the
numbers v use must 11 and 103 as per docs (ie plus 2).

setting the .KL property via VBA to 103 gives the same error as setting
it manually which is "The value entered isn't appropriate for this...."

changing the language from windows and then checking for the .KL
retrusn 0 as the .KL property is set to System which has a value of 0.

i'm out of ideas :(

riyaz
 
Back
Top