Results 1 to 5 of 5

Thread: How to retrieve the Description of an application file?

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Location
    Kansas, USA
    Posts
    58

    Arrow

    I am looking for a way to retrieve the description of an application file that is available in the file properties window. My application needs a list of Programs similar to the Select Application... window that comes up when you click an unknown file type in Windows 2000. FileSystemObject does NOT work to get the description. Does anyone have any ideas? Is it clear what I need?

    Thanks much, in advance.

    Mike Wellems - "mwdelta"

  2. #2
    Addicted Member JasonGS's Avatar
    Join Date
    May 2000
    Location
    California
    Posts
    155
    Are you talking about your own VB application?
    Code:
    App.ProductName
    App.Comments
    App.FileDescription

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 1999
    Location
    Kansas, USA
    Posts
    58
    Nope. My program detects the other applications that are running, and I want it to display a "friendly" name instead of just the EXE file name. So I know the application path that I need to get the description of. I also know the processID, etc but I don't think that will help. That FileDescription is the right thing, but I need to get it for other applications than mine. Any more ideas?

  4. #4
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    Check out the Code Snippet I've posted on how to get the file information, including Version, Description, Product Name etc. Basically, it is the same thing when you right click on the file and select properties, then select Version tab...

  5. #5

    Thread Starter
    Member
    Join Date
    Nov 1999
    Location
    Kansas, USA
    Posts
    58

    Thumbs up You rock Serge!

    That is exactly what I needed. Actually I found that post last night by doing a little detective work, and it works perfectly. Thanks very much!

    Also, another writeup of the solution is available from Microsoft, at http://support.microsoft.com/support.../Q139/4/91.asp.

    Thanks again!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width