windows - VBA get list of available languages on current machine -
i have muulti-language access application needs access languages/keyboard layouts installed on machine. have fields accept input in various languages. able change active language/keyboard layout when these fields entered , exited.
i'm sure there sort of windows api haven't been able turn up. happy code examples, links or me pointed in right direction.
you can change active keyboard layout using keyboard input functions. functions should @ are:
- loadkeyboardlayout
- activatekeyboardlayout
- unloadkeyboardlayout
- getkeyboardlayout
- getkeyboardlayoutname
- getkeyboardlayoutlist
you can find list of locale ids on msdn or download here. can installed locales using enumsystemlocales function. can't vouch quality of code, here examples of using these functions:
http://vbnet.mvps.org/index.html?code/locale/enumsystemlocales.htm
http://www.vbforums.com/showthread.php?t=22694
Comments
Post a Comment