' Return a Boolean value indicating whether the .NET Framework is installed' Note: this function require the CheckRegistryKey functionsFunction IsDotNetFrameworkPresent() As Boolean Const HKEY_LOCAL_MACHINE = &H80000002 IsDotNetFrameworkPresent = CheckRegistryKey(HKEY_LOCAL_MACHINE, _ "SoftwareMicrosoft.NETFramework")End Function