Hi,

maybe it is silly problem, but I really have not found any similar problem resolved here.

I have following code

PictureBox2.Image.Save("c:\image2.jpeg",system.Drawing.Imaging.ImageFormat.Jpeg)

and following error...

A generic error occurred in GDI+.


This picture is loaded into the picturebox (picturebox.load) when the app is running
But if I set the picturebox.image property before I run the app then it works and saves correct...????

Thanks for any help