Click here to Skip to main content
11,640,297 members (61,744 online)
Click here to Skip to main content

Tagged as

A Safe Way to Get the User to Check if the .NET Framework is Installed

, 28 Apr 2011 CPOL 5.4K 2
A safe way to get the user to check if the .NET Framework is installed

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

30 Apr 2011
Charles Oppermann
Two alternate possibilities:One is conceptual. Consider why you are asking the user. Is it because you have a program or website that requires a specific version? If so, you are expected to distribute the proper redist package with your application.Also conceptually, instead of making...
3 May 2011
charles henington
//Also you can get the path like this because not everyone uses Drive C:\ as I use Drive F:\ string path = Environment.SystemDirectory.Remove(3) + @"Windows\Microsoft.NET\Framework"
29 Apr 2011
OriginalGriff
3 alternatives  
Sometimes, it is helpful to find out if the .NET framework is installed on a machine, or get a user to check over the phone. But, some people should not be allowed near Regedit or the windows folder, so here is a safe way to get them to check.

License

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

Share

About the Author

DaveAuld
Engineer
Scotland Scotland
I have been working in the Oil & Gas Industry for over 25 years now.

Core Discipline is Instrumentation and Control Systems.

Completed Bsc Honours Degree (B29 in Computing) with the Open University in 2012.

Currently, Offshore Installation Manager in the Al Shaheen oil field, which is located off the coast of Qatar.

Prior to this, 25 years of North Sea Oil & Gas experience.

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.150731.1 | Last Updated 29 Apr 2011
Article Copyright 2011 by DaveAuld
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid