PDA

Click to See Complete Forum and Search --> : Distinguishing Workstation And Server


muhlis
Mar 15th, 2001, 07:42 AM
Hello guys ,
Just a newbie , yeah you are right , since I have been coding in assembler for about 9 years I have changed my context and now rushed to VB and got to understand whether the computer I am running my program is on a windows NT workstation or server ( 4.0 case ) or windows 2000 professional or server. First I have to say that I know what GetVersionEx is and how it can bu used and I have used it but guess what all the data that I have from GetVersionEx in a win2k server and professional is the same so I can not distinguish.Any idea ?

muhlis
Mar 16th, 2001, 05:18 AM
On a computer running Windows 9X,
HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/ProductID

-OR-

On a computer running Windows NT,
HKEY_LOCAL_MACHINE/Software/Microsoft/WindowsNT/CurrentVersion/ProductID


you can fidn everything here.

Thanx for not answering.