GetSystemInfo$() Function Returns Incorrect Information

Last reviewed: July 30, 1997
Article ID: Q110196
The information in this article applies to:
  • Microsoft Word for Windows, version 6.0
  • Microsoft Windows NT, version 3.1
  • Microsoft Windows NT Advanced Server, version 3.1

SUMMARY

The Microsoft WordBasic GetSystemInfo$() function returns information about the environment in which Word is running:

   Type   Explanation
   ------------------

   21     The environment (for example, Windows or Windows NT)
   24     The Windows version number

Type numbers 21 and 24 return incorrect information about the Windows operating environment.

GetSystemInfo$(21) returns "Windows" regardless of whether Word is running under Microsoft Windows NT or Microsoft Windows.

GetSystemInfo$(24) returns version "3.10," when Word is running under Microsoft Windows for Workgroups version 3.11.

Kbcategory: kbusage kbmacro KBSubcategory:


Additional query words: 6.0 GetSystemInfo windows version nt
word6 winword
Version : 6.0
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: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.