@Dev: Maybe assign "Environment.OSVersion.VersionString" to a string variable and then write the string to the console? Just a guess : :MJ
How about something like: Code: FileVersionInfo fv = FileVersionInfo.GetVersionInfo(Environment.SystemDirectory + @"\kernel32.dll"); string version = fv.ProductMajorPart + "." + fv.ProductMinorPart; EDIT: oops forgot your VB guy: Code: Dim fv As FileVersionInfo = FileVersionInfo.GetVersionInfo(Environment.SystemDirectory + "\kernel32.dll") Dim version As String = fv.ProductMajorPart & "." & fv.ProductMinorPart