>I've got image(jpeg) saved in Memo field (APPEND MEMO FROM FILE ...)
>and on my form is Image control which should show this image. Everytime I
>move the poniter in database do this operations
>
>1. Set the PICTURE property of image to blank.
>2. Copy memo to file (temp.jpg) (SET SAFE is OFF)
>3. Set the PICTURE property of image to "temp.jpg".
>4. Refresh the form
>
>It's ok only inside Visual Foxpro Environment.
>When I build an EXEfile, the picture remains same when i move through the table.
>
>Thanks for any idea.
>
>I am sorry, my English is very poor.
>
>Schwabik
VFP caches images to improve performance. Look at the help for CLEAR RESOURCES:
1. Set Picture property to blank.
2. (optional) Delete TEMP.JPG
3. CLEAR RESOURCES TEMP.JPG
4. Copy memo to file (temp.jpg) (SET SAFE is OFF)
5. Set the PICTURE property of image to "temp.jpg".
6. Refresh the form
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up