Reputation: 9141
Ok so the title is, once again, straight forward.
I need to extract the 16x16 icon of a file extension, and it works.
But the other (large) size is 32x32 or 48x48 (Can't remember at the moment).
But for my interface I need the 64x64 icon of the file type.
How do I extract it?
P.S. The faster, the better, 'cuz I am gonna need to extract lots of icons.
Upvotes: 4
Views: 2553
Reputation: 37
You could try using a MultiIcon object to iterate through the icons. http://www.codeproject.com/KB/vb/MultiIcon.aspx
Upvotes: 2
Reputation: 18610
I found this on another site:
Icon icon1 = IconFactory(@"C:\hoge.ico", 64, 64);
Also, check out http://msdn.microsoft.com/en-us/library/ms648075.aspx
Upvotes: 0