Microsoft KB Archive/110196

From BetaArchive Wiki

GetSystemInfo$() Function Returns Incorrect Information

Q110196



The information in this article applies to:


  • Microsoft Word for Windows, version 6.0, used with:
    • The Microsoft Windows NT operating system, 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.

Additional query words: 6.0 GetSystemInfo windows version nt word6 winword

Keywords : kbofficeprog
Issue type :
Technology : kbWinNTsearch kbWinNTSsearch kbWinNTAdvSerSearch kbWinNTAdvSer310 kbOSWinNT kbWordSearch kbWordWSearch kbOSWinSearch


Last Reviewed: October 25, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.