Automatically change language from English to arabic [message #103450] |
Tue, 07 October 2003 06:38  |
JAC
Messages: 12 Registered: February 2003
|
Junior Member |
|
|
I'm using Forms 6i on WinXP. This is a bilingual system. Data entry in some forms is done in both english & arabic. How can one change the language automatically when jumping from and english entry field to an arabic entry field??
Any help is appreciated. TIA
|
|
|
|
|
Re: Automatically change language from English to arabic [message #103822 is a reply to message #103589] |
Mon, 29 March 2004 09:00   |
eeeeeeeeeeee
Messages: 1 Registered: March 2004
|
Junior Member |
|
|
hello my friend
for change language automaticly in vb6 you
must create a module and pase this code to it :
Public Declare Function LoadKeyboardLayout Lib "user32" Alias "LoadKeyboardLayoutA" (ByVal pwszKLID As String, ByVal Flags As Long) As Long
then in your vb program type this comments :
'for arabic language
LoadKeyboardLayout "00000401", 1
'for english language
LoadKeyboardLayout "00000407", 1
|
|
|
|
|
|
|