Comments on: Get the 48×48 or 256×256 icon of a file on Windows http://pogopixels.com/blog/getting-the-48x48-or-256x256-icon-of-a-file-on-windows/ Just another WordPress weblog Tue, 22 Jul 2014 10:00:12 +0000 hourly 1 https://wordpress.org/?v=4.7.9 By: Johnb140 http://pogopixels.com/blog/getting-the-48x48-or-256x256-icon-of-a-file-on-windows/comment-page-1/#comment-102990 Sun, 25 May 2014 06:05:33 +0000 http://pogopixels.com/blog/?p=49#comment-102990 Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Thanks eadedfgdddff

]]>
By: bai http://pogopixels.com/blog/getting-the-48x48-or-256x256-icon-of-a-file-on-windows/comment-page-1/#comment-37257 Tue, 09 Jul 2013 06:01:38 +0000 http://pogopixels.com/blog/?p=49#comment-37257 where is link for c#? send to me .thank you very much. oba…(korea)

]]>
By: CHP http://pogopixels.com/blog/getting-the-48x48-or-256x256-icon-of-a-file-on-windows/comment-page-1/#comment-18712 Tue, 27 Mar 2012 12:14:34 +0000 http://pogopixels.com/blog/?p=49#comment-18712 You need to use File Attributes:

SHGetFileInfo(…,FILE_ATTRIBUTE_NORMAL,…,SHGFI_SYSICONINDEX|SHGFI_USEFILEATTRIBUTES);

]]>
By: JKR http://pogopixels.com/blog/getting-the-48x48-or-256x256-icon-of-a-file-on-windows/comment-page-1/#comment-12914 Thu, 23 Jun 2011 17:30:09 +0000 http://pogopixels.com/blog/?p=49#comment-12914 it doesnt work for me at all…

SHGetFileInfo returns NULL
and sfi is empty.

compiled as 32bit on a 64bit machine
do you have any idea how to solve this?

Regards
JKR

]]>
By: Laurent http://pogopixels.com/blog/getting-the-48x48-or-256x256-icon-of-a-file-on-windows/comment-page-1/#comment-7170 Mon, 14 Jun 2010 13:54:37 +0000 http://pogopixels.com/blog/?p=49#comment-7170 Hi Andrea, glad to hear the code sample helped and that you could convert it to C# 🙂

]]>
By: Andrea D'Intino http://pogopixels.com/blog/getting-the-48x48-or-256x256-icon-of-a-file-on-windows/comment-page-1/#comment-7137 Thu, 10 Jun 2010 18:01:25 +0000 http://pogopixels.com/blog/?p=49#comment-7137 Hi there,
thanks for the article, we used it along with an other article to implement large icons in our .net application. We wrote a post about the whole story here:

http://tabbles.net/blog/2010/06/10/how-to-have-large-file-icons-with-shgetfileinfo-in-c/

Thanks 🙂

Andrea and Maurizio

]]>
By: How to have large file icons with SHGetFileInfo in C# | Tabbles developers' blog http://pogopixels.com/blog/getting-the-48x48-or-256x256-icon-of-a-file-on-windows/comment-page-1/#comment-7136 Thu, 10 Jun 2010 17:27:21 +0000 http://pogopixels.com/blog/?p=49#comment-7136 […] we started investigating and found this article on how to get large icons using C++. The problem was to convert this code to C#. This is not easy, at least for me, because it […]

]]>