There is surely better approach but this one works too. Get the version
of mscorlib or the framework version from mscorlib.dll path:
Dim asem As System.Reflection.Assembly
' get mscorlib assembly (it contains System.Object)
asem = System.Reflection.Assembly.GetAssembly(New System.Object().GetType)
MsgBox(asem.GetName.Version.ToString)
MsgBox(asem.Location)
--
Peter Macej
Helixoft -
http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
..NET and ASP .NET code