>All,
>
>I'm not certain if this category will be the right one but I'll start here.
>
>I have a report that uses a picture bound control. The .bmp file is written in an export process from a third party graphing tool.
>
>My problem is... periodically while using Windows XP the file does not get over-written with newly created one causing an old image to by displayed on the report.
>
>I have added code to delete old file prior to saving the new to the directory but the issue still remains. I believe this may be a windows XP issue but am not certain and need additional info to keep me on the correct path.
>
>Has anyone experienced anything similar or have any suggestions to get the .bmp to the report without using that picture control?
>
>Any ideas will be appreciated.
>
>MM.
Michael,
Bitmaps, pictures, fonts and the like are cached by foxpro. You can use one of the statements below just before using/accessing the bmp so that it always gets the current from disk.
It's explained in the help under Clear
Clear Resources
or
Clear Resources FileName.bmp
Gregory