Re: Change Keyboardlayout programmatically
- From: "Markus Fischbacher" <trash@xxxxxx>
- Date: Mon, 9 Jan 2006 14:19:36 +0100
Hello Zirong,
your solution sounds nice.
I'll try to generate a component which executes the batchfile @ phase 8499
to set the keyboard layout code.
My configuration file is also a text layout file.
You told, that you can provide your batchfile to me?
I'd be glad if I can get it from you :)
Thx a lot!
Markus
PS: Please send the file to fima(at)skidata(dot)com
"Zirong Wang" <nospam@xxxxxxxxxxxxx> wrote in message
news:43bfbfbe$0$7346$636a55ce@xxxxxxxxxxxxxxx
> Markus,
>
> if you configure the following key during the FBA phase, then
> the whole system will be ok:
> HKEY_USERS\.Default\keyboard layout\preload
> for example, when set the value 1 to 40C, the whole system
> is set for french keyboard.
>
> now, just put a resource during the phase 8499, then the .default
> key will be inherited for all subsequent created users, including
> administrator.
>
> assuming you know the keyboard layout code. otherwise, you must
> search in the registry
> HKLM\SYSTEM\CurrentControlSet\Control\Keyboard Layouts
> to find all code.
>
> now you can be more tricky by putting the 'layout text' as your config
> file, ie.
> KEYBOARD="German"
> then, you can have a simple .bat script the parse this file, compare and
> find
> the layout code (the key name under 'kayboard layouts'), and thanks to
> reg.exe,
> put the preload key to the right key code.
>
> anyways, the critical (key :-) ) point is to launch the batch during the
> phase BEFORE
> the first reboot of FBA, we use phase 8499 and it works fine.
>
> no, I will not describe how to put a resource to launch a .bat in TD.
> I can, a la limite, privide the .bat file providing that the config file
> is in the same
> format (layout text) as ours.
>
> hope this helps
>
> Zirong
>
> J'eprouve une soudaine compassion pour ceux qui souffrent comme moi
> avec cet OS (si on peux appeler cela un OS)
>
> "Markus Fischbacher" <trash@xxxxxx> wrote in message
> news:IK5vf.2$ff4.5861471@xxxxxxxxxxxxxxxxxxxxxxxxxx
>>
>> "steves" <steves_garbage@xxxxxxxxxxxxx> wrote in message
>> news:1136401185.666865.193840@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>> Markus,
>>> I'm curious as to what keys you need to change, could you share your
>>> thoughts?
>>>
>>> Microsoft has an available 'Microsoft Keyboard Layout Creator', that is
>>> available as a free download on their 'Genuine Windows' website. That
>>> means that it is free, but requires that you have a genuine licensed PC
>>> in order to download it. It creates an installation file that can be
>>> used to install a customized layout on any number of PCs...
>>>
>>> It can be found here:
>>> http://www.microsoft.com/globaldev/tools/msklc.mspx
>>>
>>> SteveS
>>> stevesATeyeDASHimagingDOTcom
>>>
>>
>> Hello Steve,
>>
>> thanks for your reply!
>> Our company has customers all over the world.
>> Some customers have their own keyboard with different keys or positions.
>> (e.g. german QWERTZ, english QWERTY).
>> I must configure the system to use the right layout for each keyboard.
>> Our XPe is shipped with englisch UI. It's not planned to ship different
>> UI's for each language.
>> We only want to set the right keyboard layout.
>>
>> Our company has it#s own setup procedure which is realised in DOS.
>> At the beginning, the user is able to select his desired language for the
>> setup procedure in the DOS shell.
>> This selected language should be finally set to the whole XPe
>> automatically.
>> The selected language is temporarily stored in a textfile.
>> After the FBA has finished, the user language is read from the
>> temporarily file and should be set to the system.
>>
>> I have no idea, how to set the keyboard language layout to the system.
>>
>> I hope I explained it in a reasonably way otherwise feel free to ask
>> again.
>>
>> Thank you!
>>
>> Markus
>>
>>
>>
>
>
.
- References:
- Re: Change Keyboardlayout programmatically
- From: steves
- Re: Change Keyboardlayout programmatically
- From: Markus Fischbacher
- Re: Change Keyboardlayout programmatically
- From: Zirong Wang
- Re: Change Keyboardlayout programmatically
- Prev by Date: License Documents
- Next by Date: Re: cmd.exe - Application Error (0xc0000142)
- Previous by thread: Re: Change Keyboardlayout programmatically
- Next by thread: simple fba Qs
- Index(es):
Relevant Pages
|