Im having problems trying to resave an image.
Im importing an image into a picturebox using the open file dialog box. Im saving all the text that was entered into a text file using streamwriter, and saving the image using image.save(pathname). Along with saving the text into a text file, im also adding an extra line that contains the path name for the image.
When opening the saved text file, it imports all the text into the correct fields, and using the path name it imports the image into the correct picturbox.
Now, all of that works just fine. BUT, the problem is, I cannot resave an image if it already exists.
Help!
Im importing an image into a picturebox using the open file dialog box. Im saving all the text that was entered into a text file using streamwriter, and saving the image using image.save(pathname). Along with saving the text into a text file, im also adding an extra line that contains the path name for the image.
When opening the saved text file, it imports all the text into the correct fields, and using the path name it imports the image into the correct picturbox.
Now, all of that works just fine. BUT, the problem is, I cannot resave an image if it already exists.
Help!