Detecting a framework installation

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Hi.

We need to enable a VB6 application to dynamically detect
the installation of a specific version of the .Net
Framework.

What is the best method to accurately determine this
using VB6 code?

Thanks in advance.
Chris.
 
The simplest way from VB6 would be to look at the

C:\WINNT\Microsoft.NET\Framework

or

C:\Windows\Microsoft.NET\Framework

folders using the DIR command


Scot Rose, MCSD
Microsoft Visual Basic Developer Support
Email : (e-mail address removed) <Remove word online. from address>

This posting is provided “AS IS”, with no warranties, and confers no rights.

Get Secure!
http://www.microsoft.com/security
http://www.microsoft.com/protect


--------------------
 
I suppose you can check the subkeys under
HKLM\Software\Microsoft\.NETFramework or HKLM\Software\Microsoft\ASP.NET
registry key. I think there would be seperate subkeys for each version.
 
Back
Top