GetSystemInfo$() Function Returns Incorrect Information

ID: Q110196


The information in this article applies to:
  • Microsoft Word for Windows, version 6.0
  • Microsoft Windows NT 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.

Additional query words: 6.0 GetSystemInfo windows version nt word6 winword

Keywords :
Version : WINDOWS:6.0; winnt:3.1; :3.1
Platform : WINDOWS winnt
Issue type :


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.