Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Windows Thumbnail
Hi,
 
what I want to do is forcing Windows to use my program as a base for creating thumbnail from some kind of files that are not images. In Windows you can see thumbnails from images, word documents, pdf etc - this is what i want with other file types. I can create bitmaps from this files (which later I want to use as a thumbnails) and store them somewhere. My question is how to connect extension with request of creating/checking if they exists thumbnail with my program and returning image/path to image. Any help and example will be very helpful.
Posted 23-Jan-13 4:41am
Tapirro354
Comments
Sergey Alexandrovich Kryukov at 23-Jan-13 13:01pm
   
Looks like an interesting question to me, but it needs much clearer formulation. The title is very confusing, and mentioning of Explorer, too. You should understand that this is about Windows Shell and its API. Explorer is only one of file managers, it can be anything else, but still using common Shell. This is the Shell which get data from registry and tells how to tread files based on their names etc. Extensions are also on the Shell.
 
So basically, you need to learn Shell extensions and Shell API, to approach the problem. If I knew the solution close to what you want, I would gladly share, but you can just use my notes to refine your search. I'm almost sure you can find the solution.
 
Voted 4 for the question.
 
Good luck,
—SA
Sandeep Mewara at 23-Jan-13 14:53pm
   
Comment from OP (Posted as an answer):
Thanks a lot for the answer. I knew that is connected with Shell, i was thinking about topic title... maybe not long enough Smile | :) I will search Google again using your advices.
Sergey Alexandrovich Kryukov at 23-Jan-13 15:32pm
   
Thank you, Sandeep, thank you, Tapirro. I think it's all solvable, just needs time...
—SA
Tapirro at 29-Jan-13 9:24am
   
Hi guys, I searched whole Google for answer/help and the best page I found was http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2006/07/21/5884.aspx Unfortunately it is not working yet on my win8 64bit but it is no hanging so i can see progress :) ideal solution was presented here http://blogs.msdn.com/b/uberdemo/archive/2007/03/02/building-a-recipe-application-using-vista-and-net-3-0-part-iv-thumbnailprovider-interface.aspx but code is no longer available and Microsoft mail is no longer existing. Maybe this will be useful for someone.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 23 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100