Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9179645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:51:00+00:00 2026-06-17T17:51:00+00:00

What I want to do is force Windows to use my program as a

  • 0

What I want to do is force 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´s etc – this is what I want with other file types. I can create bitmaps from these 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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T17:51:01+00:00Added an answer on June 17, 2026 at 5:51 pm

    You need to create a COM DLL library, with a class that implements IExtractImage.

    You then register your shell extension with the file extension you support under:

    HKEY_CLASSES_ROOT\[.ext]\shellex\[SID_IExtractImage]
    @default = [MyExtractImageShellExtensionCLSID]
    

    Where

    • .ext is the extension of file you are creating a viewer for (e.g. .psd)
    • SID_IExtractImage is the constant {BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}
    • MyExtractImageShellExtensionCLSID is the class id (clsid) of your shell extension that implements IExtractImage

    So, if i were registering a Photoshop psd extension handler, and my COM object’s clsid is {CCB7DB3B-D073-4606-B246-2A5174D274C8}:

    HKEY_CLASSES_ROOT\.psd\shellex\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}
    @default = {CCB7DB3B-D073-4606-B246-2A5174D274C8}
    

    Then it’s just a matter of creating a COM object that implements:

    • IPersist
    • IPersistFile
    • IPersistStream (optional)
    • IExtractImage

    And Explorer will use your extension to create a thumbnail of a photoshop image.

    Note: If you’re running 64-bit Windows you will need a 64-bit compiler, to create a 64-bit COM object DLL, that 64-bit Windows Explorer can load.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to force user to download images. Not open in browser. It is
I want to use autocomplete (jquery or .net) with force a choice so that
Hi I want to make a small test window app that can force IE
When users go on my website, I want to force them to use Internet
I want anonymous user can view projects' status and logs but can not start/stop/force
I want to write a small program that given a time (in minutes) as
Under windows 7, I can not use default port 80, so 81 instead. I
Is there a way to force or prompt a user to use the windows
I'm new with Windows gadgets and I need some help. I want to make
I have an application that I want to use Visual Styles and I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.