O
OSVBNET
Guest
Hi,
In a legacy VB6 app, I am using this to get Windows Version:
Operating System Version - Windows applications
My question is not VB related, but how to distinguish Windows Server 2003 and 2003 R2?
Select Case OSInfo.dwMinorVersion
Case 1
GetVersion = "Windows XP"
Case 2
If OSInfo.wProductType = VER_NT_WORKSTATION Then
GetVersion = "Windows XP 64-Bit"
Else
GetVersion = "Windows Server 2003"
End If
End Select
This part shows both Server 2003 and Server 2003 R2 the same, what's the difference between these two?
Thanks.
Continue reading...
In a legacy VB6 app, I am using this to get Windows Version:
Operating System Version - Windows applications
My question is not VB related, but how to distinguish Windows Server 2003 and 2003 R2?
Select Case OSInfo.dwMinorVersion
Case 1
GetVersion = "Windows XP"
Case 2
If OSInfo.wProductType = VER_NT_WORKSTATION Then
GetVersion = "Windows XP 64-Bit"
Else
GetVersion = "Windows Server 2003"
End If
End Select
This part shows both Server 2003 and Server 2003 R2 the same, what's the difference between these two?
Thanks.
Continue reading...