targetImage.Save(targetFilePath, True) doesn't work. .Save doesn't take any booleans as a second parameter. The second parameter options only allow for specifying the imageType (Jpg, Gif etc.).
I'll have a look for that Thread though, thanks.
I'm trying to save and overwrite an image that has been loaded into a PictureBox and then changed. The application won't let me overwrite the original file, but it will let me save it with a different name. I think that the original file is being locked, but I am not sure how to unlock it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.