Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identify Windows 10
Message
From
13/04/2015 12:36:57
 
 
To
13/04/2015 12:34:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01618305
Message ID:
01618328
Views:
56
>>>>Hi All,
>>>>
>>>>Any one whether it will be possible to identify whether a user is running Windows 10 (when released) by using OS() or similar?
>>>>
>>>>TIA
>>>Another way that appears to work (without need to modify manifest):
>>>http://www.news2news.com/vfp/?example=436&function=734
>>
>>Naoto,
>>
>>OK, got that working, thanks (and thanks Anatoly). So under Windows 8.1 major version returns 6 and minor version returns 3. Does anyone have an idea what running under Windows 10 might return? I assume something greater than 6 for major version ?
>
>On the machine I've got running right now with a preview release of Windows 10 was returning 6.4 until around a few weeks ago -- then came a huuuge update and now it's returning 10.0. Similarly on command line when you typed VER command it was reporting 6.4 (until a few weeks ago before the update), but now it is reporting 10.0 (since the update). I'm assuming that when the actual release version is out, it will return 10.0

Thanks Naoto - very cool of you to help. Implementing the code now. Thanks.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform