Hi. I write winforms app, i take the picture from the camera than I want do the following:
Copy sourecImage to directory1
Copy sourceImge to directory2
Move soureImage to targetImage
Display rargetImage in a picturebox.
The sourceImage is about 6MB. The copied images are corrupt. On moving there is allways a FileInUse Exception.
Any tips how do do this? I use File.copy and File.mov
Rajanikant HawaldarPosted Oct 1, 2022, 12:47 PM
before you copy make sure image file is not using by any app