|
[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 :-)
|