|
-
Nov 18th, 1999, 12:34 PM
#1
Thread Starter
New Member
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
-
Nov 18th, 1999, 12:44 PM
#2
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]
-
Nov 18th, 1999, 03:50 PM
#3
Hyperactive Member
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 :-)
-
Nov 18th, 1999, 11:00 PM
#4
Guru
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|