Hi,
I use the following code to paint an image into my picture box:
imgBox1.CreateGraphics.DrawImage(imgBoxSource.Image, Me.MousePosition)
But when I try to save the image with this function:
imgBox1.Image.Save
a NullReferenceException has occured
Please help me to solve this problem, I want to save my new created graphic as picture like bmp, jpg, png....
Thank you in advance.
I use the following code to paint an image into my picture box:
imgBox1.CreateGraphics.DrawImage(imgBoxSource.Image, Me.MousePosition)
But when I try to save the image with this function:
imgBox1.Image.Save
a NullReferenceException has occured
Please help me to solve this problem, I want to save my new created graphic as picture like bmp, jpg, png....
Thank you in advance.