>>>>>Does anybody know the most accurate means of determining what version of Windows the user is running under, example: 3.x, '95, '98, NT?
>>>>
>>>>? OS()
>>>
>>>I saw OS() in the function list but it doesn't give the return values for each of the versions. Do you know what they are?
>>
>>Hi Mark,
>>
>>OS() will return "Windows 4.10" for Win 98. If I recall correctly, Under Win 95 it returns "Windows 4.00". Under NT, I think it returns something like "Windows NT X.XX" where "X.XX" represents the NT version number. I'm not 100% sure of this, however.
>
>It returns Windows NT 4.00 (on my machine, at least).
Hi Ed,
That's what I thought and I think Windows NT 3.51 under that version.
Under FPW you have to use OS(1) to get the version of Windows. Not that it makes any difference, but FPW returns "Windows 3.95" for Win 9x. Which I've found both odd and a bit humorous.
George
Ubi caritas et amor, deus ibi est