GetSystemInfo$() Function Returns Incorrect Information

ID: Q110196

The information in this article applies to:

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

Last Reviewed: July 30, 1997