08-12-2013 09:57 AM
How can i read the display language of the OS windows 7 with LabVIEW version 2010?
This is set in the control panel of windows 7 , Region and language, formats. Example English (United States)
Kind Regards, Ben Arts
08-12-2013 10:58 AM
I kinda threw this together using MSDN and Windows API just to help you out.
Note I did not bother to rigoriously test it but it should be accurate.
Any problems let me know and I will see what I can do to help
08-13-2013 02:07 AM
I set the region and language in Dutch but that doesn't work. This also gives back English.
I found some information about in this forum: ...Current Language... at date 02-17-2010
Take a note, that LabVIEW is non-Unicode, therefore you may get langugae ID, which was set for non-Unicode applications (check advanced settings in control panel)
I can't find the "adavanced settings in control panel". How must i do that?
Kind regards, Ben Arts
08-13-2013 05:11 AM
I'd read out the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Language\InstallLanguage
/Y
08-13-2013 09:46 AM
Hello Yamaeda,
That's not what i ask but maybee it's a way to do it.
How can you read that registry key in labview2010?
Kind regards, Ben Arts
08-13-2013 10:50 AM
Hello Ben,
Do you want to retrieve the "Default Input Language" or the currently selected "Input Language"?
Based on the replies that's not really clear for me.
08-13-2013 11:12 AM
@Ben_Arts wrote:
How can you read that registry key in labview2010?
Connectivity-->windows registry palette
/Y
08-13-2013 11:43 AM - edited 08-13-2013 11:46 AM
Read : HKEY_CURRENT_USER\Control Panel\International
2010 VI Attached