>Hi,
>If I am using the image control in VFP9.
>- If the JPG is open in the control it can be deleted from the disk
>- If the PNG is open in the control it cannot be deleted from the disk.
>
>I also noticed if a PNG is open in the XP image viewer (dbl click it)
>then it can be deleted while being viewed.
>
>Can anyone tell me why PNG files are locked when they are open for viewing?
>Is there anything i can do about this?
>
try:
RELEASE FILE "....\FILENAME.PNG"
>Thanks
>TIm