I know ExtractIcon and ExtractIconEx does a bit what I want but it is missing a really important feature for me.

How can you extract an icon in a file 48x48 and 256x256 if it has one or any other sizes. All APIs extract only 16x16 or 32x32 icons I want to extract other ones and put them in a picturebox. I don't want to resize the icon in VB by resizing the picturebox since the quality is not the same and the icon is not always the same.