Win 7 Summary Shell Extension
-
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.
-
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.
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 -
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 KreskowiakFrom 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...
-
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...
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 -
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 KreskowiakAre 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.
-
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.
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 -
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 KreskowiakBut that's exactly my point, it doesn't!! Not in all cases, at least...
-
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.
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; } } }
}