You're welcome :)
>Thank you , that's just what I was looking for
>Alessio
>
>>>In a form i put an image control.
>>>If I doubleclick on this.control the program launch the MsPaint Application to edit the picture. What happens (and I don't like it at all) is that when I modify the picture, the only way to see it modified in my form is to close the VFP environment and to run it again. I suppose VFP stores the picture in a cache memory, what can I do ?
>>>Thank you
>>>Alessio
>>
>>Hi Alessio,
>>
>>You have to clear the resources. Sometimes even we issue "Clear Resources", the image still in memory. So I always release the holder then clear it.
>>
>>Something like this will work
>>
>>Thisform.Image1.Picture = ''
>>Clear resources ImgName.BMP
>>ThisForm.Image1.Picture = 'ImgName.BMP'
>>
>>
>>HTH
Herman