Quote Originally Posted by canon1995 View Post
LaVolpe, Sorry, but I have a problem again. It concerns my previous post(321). I got icon in AlphaImgCtl1, but now I need to save it to file, but I can't understand how. Sure I have read "SavePictureGDIplus" manual. And is it posible to load it again to control after programm reload automaticaly?
If you just want to save the picture to file in the same image format (no format conversions):
SavePictureGDIplus AlphaImgCtl1.Picture, "C:\MyImages\filename.ext", lvicSaveAsCurrentFormat

If you want the image to be part of your program, you will want to do 1 of these 2 things:
1) Add it to an Alpha Image Control during design time via the Custom property page
2) Add it to a resource file and use LoadPictureGDIplus during form_load. The LoadPictureGDIp.rtf has examples of loading image from resource files

If I am not understanding the question correctly, let me know