Click here to Skip to main content
15,906,248 members
Home / Discussions / C#
   

C#

 
GeneralFramework 1.0 vs Framework 1.1 Pin
Alex Getman11-May-04 5:27
Alex Getman11-May-04 5:27 
GeneralRe: Framework 1.0 vs Framework 1.1 Pin
Dave Kreskowiak11-May-04 6:13
mveDave Kreskowiak11-May-04 6:13 
GeneralRe: Framework 1.0 vs Framework 1.1 Pin
Alex Getman11-May-04 6:27
Alex Getman11-May-04 6:27 
GeneralRe: Framework 1.0 vs Framework 1.1 Pin
Heath Stewart11-May-04 6:44
protectorHeath Stewart11-May-04 6:44 
GeneralFile preview in windows explorer Pin
pedery11-May-04 5:21
pedery11-May-04 5:21 
GeneralRe: File preview in windows explorer Pin
Heath Stewart11-May-04 7:08
protectorHeath Stewart11-May-04 7:08 
GeneralRe: File preview in windows explorer Pin
pedery19-May-04 6:03
pedery19-May-04 6:03 
GeneralRe: File preview in windows explorer Pin
Heath Stewart19-May-04 6:15
protectorHeath Stewart19-May-04 6:15 
Yes, and what I said is correct. You must define a persistence handler for your document type and register it. Windows Explorer will use this information to generate a thumbnail. The links I gave you provide you with more information about this process.

How your IExtractImage implementation gets the image is entirely up to you. For many Microsoft Office types, a thumbnail is generated when the document is saved and stored in the compound document structure. The persistence handler for those document types extracts that image.

For support videos in Windows Explorer, the IExtractImage implementation extacts the frame so many seconds into the movie and uses that for the thumbmail, which is cached in the Thumbs.db.

Read the Platform SDK for more information. You can also read Mike Dunn's The Complete Idiot's Guide to Writing Shell Extensions - Part I[^], a step-by-step tutorial on writing shell extensions in C++. There is a whole series. This doesn't cover the IExtractImage extension, but should give you a basic idea of what I already covered.

I also gave you the information you need to know how to implement the shell interface in C# and register your .NET assembly as a CCW, or COM-Callable Wrapper, so that it can be used by the shell to use your IExtractImage implementation for your document type.

 

Microsoft MVP, Visual C#
My Articles
GeneralWindows form Usercontrol hosted in IE Pin
Tim Kohler11-May-04 5:20
Tim Kohler11-May-04 5:20 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Heath Stewart11-May-04 6:50
protectorHeath Stewart11-May-04 6:50 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Tim Kohler11-May-04 8:40
Tim Kohler11-May-04 8:40 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Heath Stewart11-May-04 8:45
protectorHeath Stewart11-May-04 8:45 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Tim Kohler12-May-04 3:10
Tim Kohler12-May-04 3:10 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Heath Stewart12-May-04 3:52
protectorHeath Stewart12-May-04 3:52 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Tim Kohler12-May-04 4:00
Tim Kohler12-May-04 4:00 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Heath Stewart12-May-04 4:29
protectorHeath Stewart12-May-04 4:29 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Tim Kohler12-May-04 4:56
Tim Kohler12-May-04 4:56 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Heath Stewart12-May-04 5:27
protectorHeath Stewart12-May-04 5:27 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Tim Kohler12-May-04 15:40
Tim Kohler12-May-04 15:40 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Heath Stewart13-May-04 2:02
protectorHeath Stewart13-May-04 2:02 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Tim Kohler14-May-04 10:53
Tim Kohler14-May-04 10:53 
GeneralRe: Windows form Usercontrol hosted in IE Pin
Heath Stewart14-May-04 11:00
protectorHeath Stewart14-May-04 11:00 
GeneralTooltip Pin
bertcox11-May-04 4:32
bertcox11-May-04 4:32 
GeneralMessage Removed Pin
11-May-04 4:45
wibblewibblewibble11-May-04 4:45 
GeneralRe: Tooltip Pin
Heath Stewart11-May-04 4:50
protectorHeath Stewart11-May-04 4:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.