You could use
clear resources [FileName]
which would be more specific
>>Is there a good way to dynamically change a picture on a form?
>>I am selecting a image from a camera and storing the image to
>>photo.jpg.
>>When I clear the resources and refresh the form, the old picture
>>is still on the form.
>>If I exit Foxpro and go back in the form, the new picture is there.
>>Are there utilities available that will allow you to view the images
>>(in Foxpro), select the image and store it into a jpg file?
>>Rina
>
>Hmmm... I think it was something like CLEAR PROGRAM, that cleared the corresponding buffer.
>
>Hilmar.