Image is in use, access denied can not delete
<p>I am working on one application which deals with images.</p>

<p>I have code for creating new image from byte array.</p>

<p>When i create some new images with same name as that of the old file names.</p>

<p>and tries to delete the old files </p>

<p>it gives me exception that file is in use, access denied.</p>

<p>I am not sure which process holding that image and how to release it.</p>

<p>Please help me..... deleting that file.</p>
