Overwrite and image

Sep 3 2009 1:22 PM
I'm trying to save an image over a file with the same file name. When it attempts to do this is bombs out because it says either it's a general GSI+ error or the process is already in use. This makes perfect sense why it would throw those errors, but how can I overwrite the file so that it doesn't give me this problem. I've tried Opening a file stream around it then closeing it. That didn't work. I also tried useing the *bitmap variable*.Dispose() to dispose of all the resources. That didn't  do anything either. Is there something else I could try? or perhaps something I'm doing wrong?

Answers (2)