Microsoft KB Archive/115858

{|
 * width="100%"|

WordBasic Command to Determine the Language Version of Word

 * }

Q115858

-

The information in this article applies to:


 * Microsoft Word for Windows, versions 6.0, 6.0a

-

SUMMARY
In Word 6.0 for Windows, the AppInfo$ function can be used to return the language version of Word. The AppInfo$ function can return 25 types of information about the Word application. Type number 16 returns the language version of Word. For example, AppInfo$(16) returns "English (US)" for the U.S. release of Word for Windows

The following macro displays the language version of Word in a message box.

Sub MAIN a$ = AppInfo$(16) MsgBox a$ End Sub The following language strings are returned by the AppInfo$(16) function.

  Language                  AppInfo$(16) Return String ========                 ==========================

Portuguese (Brazil)     Portugues (BR) Catalan                  Catala Danish                   Dansk Dutch                    Nederlands Dutch (preferred)        Nederlands (voorkeur) English (Australian)     English (AUS) English (U.K.)           English (UK) English (U.S.)           English (US) Finnish                  Suomi French                   Francais French Canadian          Canadien Francais German                   Deutsch Italian                  Italiano Norwegian Bokmal         Norsk Bokmal Norwegian Nynorsk        Norsk Nynorsk Portuguese               Portugues (POR) Spanish                  Espanol Swedish                  Svenska Swiss German             Deutsch (Schweiz)