Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if it Win95/98 or Win NT running
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00164270
Message ID:
00164308
Views:
19
>I need to register or update a OCX from my application. But the location of the OCX depend on the platform it install ( Win95/98 or Win NT).
>
>How can I know if it Win NT that is running or Win95/98 from my VFP applicaiton?

OS() returns a string that tells you; Windows 3.95 for 95, Windows 4.10 for Win98, or Windows NT for NT 4.0.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform