-
Is there a way to extract an image from a picture box and save it as a bitmap?
I am "fixing" a program written by someone else. They used picture boxes to store the background images for a user control. I don't have the actual bitmap files. I would like to get rid of the picture boxes and place the images in an image list control in order to save resources. How would I do this?
Thanks in advance,
~seaweed
-
Use the SavePicture function.
Code:
SavePicture Picture1.Picture, "C:\MyFileName.bmp"
-
Thanks. Worked great. Can't believe it was so simple!!!