How to get 64x64 file type / extension icon in C #?

Good, so the title is again, straight ahead.
I need to extract a 16x16 file extension icon and it works.
But the other (large) size is 32x32 or 48x48 (I don’t remember at the moment).
But for my interface I need a 64x64 file type icon.

How to extract it?
PS The faster, the better, because I will need to extract a lot of icons.

+4
source share
3 answers

You can try to use this logic from CodeProject

+1
source

You can try using the MultiIcon object to repeat the icons. http://www.codeproject.com/KB/vb/MultiIcon.aspx

+2
source

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

0
source

Source: https://habr.com/ru/post/1344278/


All Articles