PDA

Click to See Complete Forum and Search --> : Exended properteis like .doc


dblay
Aug 1st, 2000, 01:16 PM
You notice how .doc files (word documents), have extra tabs when you select properties from windows explorer. How does this work. I looked in the registry and found some encrypted info under a ShellEx key for the Doc file type (HKEY_CLASSES_ROOT\.doc\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1} with a value of {9DBD2C50-62AD-11d0-B806-00C04FD706EC}). I copied that stuff over to the key for TXT files and got the extended tabs for TXT file properties. apparently the {9DBD2C50-62AD-11d0-B806-00C04FD706EC} value maps to a DLL (shdocvw.dll) in the HKEY_CLASSES_ROOT\CLSID\ section of the registry. unfortunately I can't get this to work for other file types, I must be missing something. what I want to do is make my own DLL to get extended info from mp3's (like winamp does), but be able to view it from the file properties in explorer.

Anyone know how this scheme works?

Thanks

Cougar0119
Aug 4th, 2000, 03:54 PM
Well - I think I figured out something - Actually I think it's exactly what you want, it's just I have no clue how to do it (nor have I tried, not yet at least). I think that would be an interesting project though, so I may have a crack at it. Anyways - Check out IShellView in the MSDN Library. It's a Shell Interface (and I have absolutely no clue how to use it). It has a method, AddPropertySheetPages, and I believe that is what you're looking for. Check it out - if it's what you're looking for, Great! If not, well, then - I tried. :) One of these days, if I have some extra free time, I'll check it out and let you know if I come up with anything.

------
Update - I was totally wrong - lol --- I misread something... Anyways - instead of IShellView - check out IShellPropSheetExt - that's what you want - I know for sure now (I think). That is also a Shell Interface that I have no clue what to do with. Check out this in MSDN: http://msdn.microsoft.com/library/default.asp?URL=/library/psdk/shellcc/Shell/Shell_Int/PropSheetHandlers.htm It seems rather in depth, but it would be interesting, nevertheless - but anyways...

Good Luck!

[Edited by Cougar0119 on 08-05-2000 at 02:02 AM]

dblay
Aug 5th, 2000, 12:24 PM
Greate thanx!!!!
I'll post again if i get it to work!!!

Daedulus69
Aug 20th, 2002, 06:01 PM
I am also very interested in how you can reference the information found on the Summary tab of the properties of the file. Reading the information on the website supplied I can get a handle on how to create my own shell extenstion information, but why beat a dead horse when it has already been done.

I want to be able to parse through several Hundred Documents and database all the information on that summary tab page to make it searchable through a front end for our company software.

A program that can do this for all files that MS has a summary page for would be very benefitial. Any help you can lend will be greatly appreciated.

PS the link changed on MSDN it is now: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/Shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/propsheethandlers.asp