A read-only property that returns a reference to the Microsoft Office LanguageSettings object.
expression.LanguageSettings
expression An expression that returns a reference to the Application object.
0: Can be accessed without restrictions.
The LanguageSettings property is available only when using scripting code.
After you establish a reference to the LanguageSettings object, you can access all the properties and methods of the object.
The following example uses the LanguageID property of the LanguageSettings object to return the LCID value (a four-digit number) for the language that is currently being used for the Office help system:
Application.LanguageSettings.LanguageID(3);
Note Because Microsoft Office InfoPath 2003 uses scripting code instead of Visual Basic for Applications (VBA), you cannot use the names of enumerated values; you must use the numerical values of the enumerations, as in the previous example (msoLanguageIDHelp = 3).