I'm trying to save an image in picture box to a path on another computer in the LAN. It give me this error:
System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+
It works for some jpg files and not for others.
I'm getting the following error message:
string pathFolder = "\\\\DESKTOP-PDP6PSF\\Data\\daily\\";
picturebox1.Image.Save(pathFolder+nameImage1+".jpg", ImageFormat.Jpeg);
User contributions licensed under CC BY-SA 3.0