ACC: Using Visual Basic to Determine Windows 95 or NT VersionLast reviewed: August 28, 1997Article ID: Q140484 |
The information in this article applies to:
SUMMARYAdvanced: Requires expert coding, interoperability, and multiuser skills. This article describes how you can use the GetVersionEx() Windows API function to determine the version number of the operating system (Microsoft Windows NT or Windows 95) running on the computer. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to your version of the "Building Applications with Microsoft Access" manual.
MORE INFORMATIONAlthough the GetVersion() function is still supported under Win32, it has been superseded by GetVersionEx(), which identifies Windows 95, returns more accurate information about the build of Windows, and no longer returns the version of MS-DOS. The following example function demonstrates how to use the GetVersionEx() Windows API function:
REFERENCESThis article is the counterpart to the article "ACC: How to Determine Windows and MS-DOS Versions" (Q109723), which describes how to use the GetVersion() function with Microsoft Access 2.0 and 1.x to return the version of Windows 3.x and MS-DOS. Microsoft Win32 SDK Reference
|
Additional query words: Win95
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |