Click here to Skip to main content
15,892,768 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Expert,
I need to ask the question related to .net framework.
I have to develop an application which can tell the user that in this running application's machine is ' the .net frame work is installed or not?' before launced the application.
if .net frame work is not installed then application simply give error msg and terminate and if .net framework is installed the application should be run.
thanks n regards
RS
Posted

 
Share this answer
 
Have a look in the Registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP
If you iterate the sub keys, it will give you the highest version installed, so you can decide if your app can run.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900