>>Has anyone out there noticed (or found a fix for) when changing/modifying a .BMP or .ICO, VFP doesn't refresh the image unless you exit and reload VFP?
>
>Visual FoxPro caches the BMP image. I haven't found a solution for that. Whenever we change the BMP with an external tool and switch to Visual FoxPro, the old BMP is still displayed when we starts the application.
Three solutions:
In FP/Win there is an undocumented SYS() function that flushesthe bitmap cache.
In VFP 3 use RANDOM names for every bitmap, so that the name is not the same. In the end VFP runs out of resources and crashes.
In VFP 5 use the new CLEAR RESOURCES
command that will release it from the cache.
I think my continual complaint (and demo that crashed VFP3 after 20 images) since the beta has actually given us a useful feature!!