Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identify Windows 10
Message
De
13/04/2015 12:50:16
 
 
À
13/04/2015 12:36:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01618305
Message ID:
01618329
Vues:
50
>>>>>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.

I only applied a bit of "Google-Fu" to locate the solution that someone else has already worked out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform