Thumbnail Viewer

  • Thread starter Thread starter Ole
  • Start date Start date
O

Ole

Hi all,

I'm trying to design a control which would display the thumbnail of a
specific file (FileName property), just like the windows explorer
does, i.e if no thumbnail is available it does show the large file
icon.
I suppose I can use a Windows API to do this, but I just can't find
which one...

I've already seen several answers to this question, but I could apply
non of them.
Is there a dotnet component which would be able of doing this ?
Or a windows api returning me the thumbnail ?

Maybe the explorer can be displayed on a form as a component ?

Any help would be greatly appreciated, thanx in advance

Olivier
 
Olivier,

I'm not sure i understand your question, but if you're
interested in the thumbnails that are packed into Jpegs
you can retrieve them with Image.GetThumbnailImage.. then
display the Image in an appropriately sized PictureBox.

Hope this helps!
 
Back
Top