Easy Method is to create a function.
[highlight=vbnet]
Public Function GetWinVer() As String
Return Environment.OSVersion.ToString
End Function
[/highlight]
You can use this any way you like because the function will return the OS Version.
Examples
[highlight=vbnet]
Msgbox (GetWinVer())
[/highlight]
[highlight=vbnet]
Textbox1.Text = GetWinVer()
[/highlight]
[highlight=vbnet]
Label1.Text = GetWinVer()
[/highlight]