Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB6
Expertise: beginner
Dec 2, 2002

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 functions
Function IsDotNetFrameworkPresent() As Boolean
    Const HKEY_LOCAL_MACHINE = &H80000002

    IsDotNetFrameworkPresent = CheckRegistryKey(HKEY_LOCAL_MACHINE, _
        "Software\Microsoft\.NETFramework")
End Function
Marco Bellinaso
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date