Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Matt Fishbeck

@Matt Fishbeck
About
Posts
12
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Getting installed application version numbers in C#
    M Matt Fishbeck

    Hi all! I am currently trying to get all the installed applications on a Windows XP machine and their associated version numbers. I am using the following class; mc = new ManagementClass("Win32_Product"); The ManagementClass class returns the majority of installed components on the system. There is however other components that appear when one runs 'Add/Remove Programs' in the control panel that do not appear in the object returned by the constructor above. As an example; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ There are entries in here that are not returned in the ManagementClass presumably because they are two seperate things entirely. What classes do I need to return 'EVERYTHING' as seen by the 'Add/Remove Programs' dialog under the control panel. Obviously some applications install in different ways which cause the descrepancies I have been seeing. Any ideas?

    C# csharp tutorial question announcement

  • Reporting of operating system
    M Matt Fishbeck

    Hello all! A silly question concerning the OSVersion. When I call the following method it returns the platform as the following; "Microsoft Windows NT 5.1.2600 Service Pack 2" Despite under the control panel it is listed as; "Microsoft Windows XP Professional Version 2002 Service Pack 2" Is there anything that maps one from the other? Many thanks!

    C# question announcement

  • Getting application version numbers in C#
    M Matt Fishbeck

    I am running a dual core 2.3g pentium 2 with 2 gb of ram. See below for a list for the output of the program - note the elapsed time; It is strange because when I go to contorl panel - add/remove programs it is allot faster - even for the first time after boot. Perhaps windows in caching the entries where as this method probably reads through the registry in a manual fashion....See the output of the program below. <<< Querying registry for installed components. Please wait... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................................... ............................................

    C# csharp json tutorial question announcement

  • Getting application version numbers in C#
    M Matt Fishbeck

    Hello John. thanks for your response concerning ManagementClass and ManagementObjectCollection. I have implemented this which returns everything that I need but it is hideously slow. I have had to run it in a seperate thread since it sometime takes minutes to finish. Is this normal? Is there another way you know which is faster? When one click add remove programs it does not take this long..... Thanks, Matt

    C# csharp json tutorial question announcement

  • Querying what kind of mail server is active on a machine
    M Matt Fishbeck

    We are using an exchange server. Do not know if it supports STMP but without supplying a server it throw an exception:-( Will see what I can find out

    C# sysadmin database tutorial

  • Querying what kind of mail server is active on a machine
    M Matt Fishbeck

    Is there a call to query the STMP server to be used as a parameter to be passed into the constructor of SmtpClient?

    C# sysadmin database tutorial

  • Querying what kind of mail server is active on a machine
    M Matt Fishbeck

    Hello all. Does anybody know how to query the available mail servers active on a mchine prior to calling the send method on the MailMessage class. i.e. There could be a SMTP or exchange server on the network. Cheers.

    C# sysadmin database tutorial

  • Easy way to send an email from C# windows application
    M Matt Fishbeck

    Hello All. I was wondering if anybody new the framework or some example code to send an email from a windows application. This can be done via launching a window which will have an 'automatic' attachment to be sent as an issues report. This could also be done transparenently, i.e. Without launching the outlook window...Probably allot more complicated. Any help would be appreciated. Cheers

    C# csharp help tutorial

  • Getting application version numbers in C#
    M Matt Fishbeck

    Thanks very much for your email. It all work perfectly now. Many thanks. Matt

    C# csharp json tutorial question announcement

  • Getting application version numbers in C#
    M Matt Fishbeck

    Also, I need to get the version of an installation, not the individual assemblies within it. For example, If I have a driver installer version 1.0. I may contain the following sets; driverX.sys version 1.1 driverY.sys version 1.11 driverZ.sys version 1.12 Where is the Add/Remove feature in the control panel looking to obtain the 1.0? Regards, Matt

    C# csharp json tutorial question announcement

  • Getting application version numbers in C#
    M Matt Fishbeck

    Thanks, but how do I use 'Assembly.GetExecutingAssembly().GetName().Version' to get the applications the at are 'installed' on the system?

    C# csharp json tutorial question announcement

  • Getting application version numbers in C#
    M Matt Fishbeck

    Hello All. I would like to know what api calls/functions are required to retrieve all the application version numbers that are currently installed on a windows platform. What I want is to get all the version numbers as displayed when one goes to the Control Panel->Add/Remove Programs. I want to get the application names and the versions so I can generate reports, forward in an email etc. Does any body know how to do this? Many thanks, Matt

    C# csharp json tutorial question announcement
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups