detect operating system

maxmangion

AWF VIP
Local time
Today, 02:12
Joined
Feb 26, 2003
Messages
2,805
is it possible to get the name of the operating system from with microsoft access ? I have tried Environ("os") but it simply returns windows_nt, when i have windows xp professional installed.

Thanks
 
maxmangion said:
is it possible to get the name of the operating system from with microsoft access ? I have tried Environ("os") but it simply returns windows_nt, when i have windows xp professional installed.

Thanks
If I recall correctly, Windows XP was built off of Windows NT.

You will get the same result using the code at this link...
www.mvps.org/access/api/api0055.htm
 
Last edited:
that's correct WindowsXP is built off the NT framework. there are many ways to check for the OS, one is using just by checking a file name using the FileSystem object. The other is by accessing the registry.
 

Users who are viewing this thread

Back
Top Bottom