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
  1. Home
  2. General Programming
  3. Windows API
  4. Win 7 Summary Shell Extension

Win 7 Summary Shell Extension

Scheduled Pinned Locked Moved Windows API
linuxquestion
8 Posts 3 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fabio V Silva
    wrote on last edited by
    #1

    Hi, does anyone know of a shell extension for windows 7 to show the "Summary" tab like in win xp on the properties page? The one with the "Title", "Subject", "Author", etc. fields. Thanks.

    D G 2 Replies Last reply
    0
    • F Fabio V Silva

      Hi, does anyone know of a shell extension for windows 7 to show the "Summary" tab like in win xp on the properties page? The one with the "Title", "Subject", "Author", etc. fields. Thanks.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Never heard of such a beast, other than Windows 7 providing it. On Win7, I just go to the Details tab to get that stuff. I think Win7 will only show the tab if the summary data exists.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      F 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Never heard of such a beast, other than Windows 7 providing it. On Win7, I just go to the Details tab to get that stuff. I think Win7 will only show the tab if the summary data exists.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak

        F Offline
        F Offline
        Fabio V Silva
        wrote on last edited by
        #3

        From what I understand of it, win 7 will not show that information even for .txt files, only for media and office files and that's pretty much it... It won't show the version tab like on xp as well, it shows the version on the details but not all of the information. If I can't find one I think I need to write it...

        D 1 Reply Last reply
        0
        • F Fabio V Silva

          From what I understand of it, win 7 will not show that information even for .txt files, only for media and office files and that's pretty much it... It won't show the version tab like on xp as well, it shows the version on the details but not all of the information. If I can't find one I think I need to write it...

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Weird - because I'm seeing the version information on the Details tab for other file types, like .EXEs, .DLLs, .MSIs, .MSTs, ...

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak

          F 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Weird - because I'm seeing the version information on the Details tab for other file types, like .EXEs, .DLLs, .MSIs, .MSTs, ...

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            F Offline
            F Offline
            Fabio V Silva
            wrote on last edited by
            #5

            Are you sure you can see the same fields as in the win xp version? Windows 7 File-properties "Version" Tab Shell Extension[^]

            From the article:

            Much to the dismay of many people, Windows 7 replaced the original Windows 2000 / Windows XP "Version" file properties tab: With a new "Details" tab instead: Unfortunately, it neither shows all of the same information as before nor does it support copying and pasting of any of the displayed information either.

            D 1 Reply Last reply
            0
            • F Fabio V Silva

              Are you sure you can see the same fields as in the win xp version? Windows 7 File-properties "Version" Tab Shell Extension[^]

              From the article:

              Much to the dismay of many people, Windows 7 replaced the original Windows 2000 / Windows XP "Version" file properties tab: With a new "Details" tab instead: Unfortunately, it neither shows all of the same information as before nor does it support copying and pasting of any of the displayed information either.

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              I don't look at it from the standpoint of the "same fields as XP". Does it show me all the same information, just in a different way? Yep.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak

              F 1 Reply Last reply
              0
              • D Dave Kreskowiak

                I don't look at it from the standpoint of the "same fields as XP". Does it show me all the same information, just in a different way? Yep.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak

                F Offline
                F Offline
                Fabio V Silva
                wrote on last edited by
                #7

                But that's exactly my point, it doesn't!! Not in all cases, at least...

                1 Reply Last reply
                0
                • F Fabio V Silva

                  Hi, does anyone know of a shell extension for windows 7 to show the "Summary" tab like in win xp on the properties page? The one with the "Title", "Subject", "Author", etc. fields. Thanks.

                  G Offline
                  G Offline
                  GenJerDan
                  wrote on last edited by
                  #8

                  If you don't mean a PreviewHandler (which I don't think you do), it's pretty easy. Returns a List of ListViewItem contains all the info. Do with it what you will. Mostly stolen from a sample in the WindowsAPICodePack1.1 available....somewhere. CodePlex? So it needs the DLLS, too.

                  using System;
                  using System.IO;
                  using System.Collections;
                  using Microsoft.WindowsAPICodePack.Shell;
                  using System.Collections.Generic;
                  using System.Windows.Forms;
                  using Microsoft.WindowsAPICodePack.Shell.PropertySystem;
                  using System.Linq;

                  namespace DetailedFileInfo
                  {
                  class FileDetails
                  {
                  public List GetFileInfo(string Filename)
                  {
                  List aReturn = new List();

                          if (Filename.Length > 0)
                          {
                              string filter = null;
                              string fileName = Path.GetFullPath(Filename);
                              ShellPropertyCollection collection = new ShellPropertyCollection(fileName);
                              var properties = collection
                                             .Where(
                                                 prop => prop.CanonicalName != null &&
                                                 (filter == null ? true : prop.CanonicalName.StartsWith(filter, StringComparison.CurrentCultureIgnoreCase)))
                                             .ToArray();
                  
                              Array.ForEach(
                                      properties,
                                      p =>
                                      {
                                          aReturn.Add(DisplayPropertyValue(p));
                                      });
                          }
                  
                          return aReturn;
                      }
                  
                      private static ListViewItem DisplayPropertyValue(IShellProperty prop)
                      {
                          string value = string.Empty;
                          value = prop.ValueAsObject == null ? "" : prop.FormatForDisplay(PropertyDescriptionFormatOptions.None);
                          ListViewItem LVI = new ListViewItem();
                          if (prop.Description.DisplayName == null)
                          {
                              LVI.Text = prop.CanonicalName.Remove(0, prop.CanonicalName.LastIndexOf('.') + 1);
                              LVI.SubItems.Add(value);
                              return  LVI;
                          }
                          else
                          {
                              LVI.Text = prop.Description.DisplayName;
                              LVI.SubItems.Add(value);
                              return LVI;
                          }
                      }
                  }
                  

                  }

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

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