devxlogo

Checking (from a VB6 program) whether the .NET Framework is present

Checking (from a VB6 program) whether the .NET Framework is present

' 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

devx-admin

Share the Post: