WordBasic Command to Determine the Language Version of Word

Last reviewed: August 4, 1997
Article ID: Q115858
6.00 6.00a WINDOWS kbusage kbmacro

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
   ========                  ==========================

   Brazilian Portuguese      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 Bokmål          Norsk Bokmal
   Norwegian Nynorsk         Norsk Nynorsk
   Portuguese                Portugues (POR)
   Spanish                   Espanol
   Swedish                   Svenska
   Swiss German              Deutsch (Schweiz)

REFERENCES

"Microsoft Word Developer's Kit," pages 258-259

Kbcategory: kbusage kbmacro KBSubcategory:


Additional reference words: 6.00 6.00a appinfo language localized
word6 winword international
Version : 6.00 6.00a
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 4, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.