?
Solved

Check an application on computer.

Posted on 2006-07-11
3
Medium Priority
?
239 Views
Last Modified: 2010-04-16
How to check an installed application on computer, e.g I have installed .NET Frame 1.1 on my computer, how to check haven't it installed on my computer?. pplease help me, you can write in C#.
0
Comment
Question by:k6t
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Expert Comment

by:SystemExpert
ID: 17080051
Hi

Read this link from Microsoft MSDN

And Hope it will work for  you

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/useragent.asp

Thanks
0
 
LVL 41

Accepted Solution

by:
graye earned 300 total points
ID: 17085687
That's a bit of "which came first, the chicken or the egg" problem...

You can't write an application in C# (which requires the .Net Framework) to check to see if the .Net Framework is installed.
0
 
LVL 3

Expert Comment

by:BBK_
ID: 17088823
public void CheckInstallation()
            {
                  RegistryKey rk = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall");
                  string[] Keys = rk.GetSubKeyNames();
                  foreach (string txt in Keys)
                  {
                        //
                        if (txt.ToUpper().IndexOf("MICROSOFT .NET FRAMEWORK 1.1") > -1)
                        {
                              MessageBox.Show("MICROSOFT .NET FRAMEWORK 1.1 Installed");
                              break;
                        }
                  
                  }
            }
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month14 days, 10 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question