I think there is an api call to do this but im not sure .. anyway does anyone know if its possible to determine whether the program is running under Win95, 98, or NT?
Thanks for any help
Printable View
I think there is an api call to do this but im not sure .. anyway does anyone know if its possible to determine whether the program is running under Win95, 98, or NT?
Thanks for any help
You should really take the time to at least check the Posts made in the last 2 Days.
Serge has posted a complete answer to your question Here.
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Reading back posts is always worth it :-)
You can also use the Environ$ function:
Environ$("OS")
NT returns Windows_NT . I can't check here what 95 or 98 returns, I assume you can check it with Instr(1, Environ$("OS"), "95") or "98". At least less code that using the API :-)
Crazy D, your code would have been perfect if the OS environment variable was set in Windows 95, 98, 3.11+Win32S and not only NT...
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
AIM: RYoni69