Does anybody know how to determine which version of W2K or NT4 is installed
on a computer?
The only way I found (workaround) is to check for the 'Program Files'-
directory. If its name is written in english it's english version
installed, if its name is written in german ("Programme") it's german
version installed, aso aso...
But I'd like to find a better and more reliable method to get out if it's a
french, spanish or else installation.
Any help appreciated.
Thanx in advance!
Larsi
The workaround you found is very unreliable. For example: in the dutch
version of Windows, "program files" is also called "program files", while
there are certainly dutch words to describe it. However, there are
registrysettings you can read:
In the key "HKEY_CURRENT_USER\Control Panel\International" there are several
values which state which country the user has selected. Use
HKEY_USERS\.Default\Control Panel\International to read the same values, but
for the default user (which thus state the standard computer settings). You
could use the value "scountry" then determine the country, sLanguage to
determine the language.
John
"Larsi" <mailvone...@gmx.net> schreef in bericht
news:988e6e8def920cce...@news.teranews.com...