I am looking for a way to extract an icon from a program and save it to a file, then load from the file and use again, keeping 32bit colors

I have tried using ConvertTo32BitImageList()
saving as file and stream
When ExtractIcon() is used the icon is fine, I can put it on bitbtn's etc and they look good.

But once they have been saved, and reloaded, the icon reverts to 16bit color and no form of manipulation seems to work

Any help here would be greatly appreciated.

Thanks.

go to codegearguru.com and look for video 1 because it is about icon.

Thanks for the reply.
But I am looking for a way to save and load icons in 32bit color, not on how to create icons.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.