>>> I had no luck with this. Eventually I just had to go with unique names until the next time VFP got started.
>>
>>try this:
>>
>>- disconnect the image file from the control, for example, clear the Picture property
>>
>>- issue CLEAR RESOURCES
>>
>>- reconnect the image file and Refresh
>
>I had tried:
>thisform.objImage.picture=" "
>Clear Resources
>thisform.objImage.picture="c:\files\checkImage.tif"
>thisform.refresh()
>
>most of the time it did not work.
>now I use a sequential naming process and use the a variable in the .picture:
>mVar = "c:\files\Image01.tif"
>thisform.objImage.picture=mVar
Did you try the
CLEAR RESOURCES x:\path\yourfilename.tif
?