I want to upload an image but when I try to replace the file it returns that the file is being used. How can I avoid taking the file directly, leaving me the possibility of being able to replace it?
Usage:
PictureBox1.Image = Image.FromFile("D:\images\out.png")