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 4026730
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:00:29+00:00 2026-05-20T11:00:29+00:00

I have a .NET winform application that writes an XML data file, but I

  • 0

I have a .NET winform application that writes an XML data file, but I want the file to have a custom (dynamic) thumbnail when you view the file via Explorer.

To give an example, PDF files show a thumbnail (picture) in XP and Win7 when you set the View mode to Thumbnail. This also works for pictures.

Presumably the process would be similar to the PDF file, since I would assume Windows just looks for some kind of “I’m a thumbnail” record within the file.

I’m also aware of the saved thumbnail images that Windows caches for picture directories. I’ve seen these files on occasion, but never played with them.

  • 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-05-20T11:00:30+00:00Added an answer on May 20, 2026 at 11:00 am

    Files don’t say they’re thumbnail. You need to write a Windows Explorer Shell handler that says, I have a thumbnail for this file type, and extracts the thumbnail.

    As per the Microsoft answer in http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/1428326d-7950-42b4-ad94-8e962124043e/ this has to be in C++ not .NET.

    Check these:

    • ExtractImage Handler Example
      http://www.shellplus.com/examples/thumbnail-image-handler-example.html
    • Creating Shell Extension Handlers
      http://msdn.microsoft.com/en-us/library/cc144067(v=vs.85).aspx

    Sample Google Query:
    http://www.google.com.au/webhp?sourceid=chrome-instant&ie=UTF-8&ion=1&nord=1#hl=en&xhr=t&q=create+thumbnail+shell+handler&cp=0&pf=p&sclient=psy&nord=1&site=webhp&aq=f&aqi=&aql=&oq=create+thumbnail+shell+handler&pbx=1&fp=190c8307a70ec87c&ion=1

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

Sidebar

Related Questions

I have a .net 3.5 WinForms application that runs fine on my machine, but
I have a TreeView control in my WinForms .NET application that has multiple levels
I have a Winform application built with C# and .Net 2.0. I have a
I have a .net (3.5) WinForms application and want to display some html on
I have small problem with my .net 2.0 winforms application. I want to embed
I have Normal Windows Form (WinForm) C# (.Net 3.5) application, this application has label
In a VB.NET Winforms application, I have a form that contains both a datagridview
I have inherited a frankenstein VB6 Converted to VB.NET winform application. This application has
I have a .NET 2.0 WinForms application with a ToolStrip on my main form.
It seems like when you have a WinForms .NET application, and a ComboBox (set

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.