9 Comments

  • Hi, you inspired me to try my first windows application.



    I created a C# windows application, dragged a button on the form and put your function guts in the button click function.



    There were a number of errors in 1.1



    the first being:

    Cannot implicitly convert type '<error>' to 'System.IDisposable'



    Any ideas?

    thanks, Jeff

  • I'll show you mine, if you show me yours... ;)

  • Note the following in the code (it's a console app)



    using Microsoft.Win32; // needed namespace



    Call Class1.GetInstalled() in the Main as it's a static call



    Put Console.ReadLine() at the end so that the console window stays stationary to read output.



    Good little app...

  • Nice snippet, just added a check to see if sk.GetValue("DisplayName") is null so I do not display some entries that is not related to the list! :)



    --Alexandre

  • Good thinking, Alexandre!

  • I would like to know if its posible to get the information of software installed on my PC, I have a code in vb .NET to get the installed software or programs, but i dont know how to get information about these. Like product-key, disk space, instalation date, etc, etc...

    I dont know if you could help me with this...

    Thanks

  • roccolocko,



    Where can I find this VB.NET code to get the list of installed programs?



    Thanks

  • Hello,

    thank you for this code snippet.

    This was very helpful for developing my application.



    Franz

  • Plz ...Can Any one help me....





    Can I get the installed software on a remote machince....(I can ping that machine)...







    thanks in advance.....

Comments have been disabled for this content.