Group:  General ยป microsoft.public.officedev
Thread: How can I get the users default language of his office installation?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

How can I get the users default language of his office installation?
michael[ at ]catsoft.ch 07.07.2006 15:17:35
Is there a way to read the users default language of his office
installation? i try to get it over Microsoft.Office.Interop but whitout
luck..

any ideas?

thanks
Mitch

Re: How can I get the users default language of his office installation?
Cindy M -WordMVP- <C.Meister-C[ at ]hispeed.ch> 08.07.2006 16:40:02
[Quoted Text]
> Is there a way to read the users default language of his office
> installation? i try to get it over Microsoft.Office.Interop but whitout
> luck..
>
You can get this through the Application object of an individual Office
app.

Or you should be able to pull it from the Registry, depending on the
target version. For 2003 I have

HKLM\Software\Microsoft\Office\11.0\Common\LanguageResources\SKULanguage
that returns this information. Don't know which, if any, earlier versions
have this particular key.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net