FYI: we started a new thread here, the original one is http://west-wind.com/wwThreads/default.asp?Thread=3DR14IX14&MsgId=3FK04GA34
I think that, when you open .scx or .vcx forms in designer, VFP searches the path for images and may find them even if absolute address does not exist.
What you might try to do is click on the [...] button on .Picture property and hit enter to force VFP designer to save the exact correct address, and save the *.?cx.
Not guaranteed, just the best suggestion I can get on top my mind.
HTH,
ThN
Hi Thierry,
Strange but paths to images in these forms are not broken. When I open forms I don't get a message about missing images. Paths are like this:
c:\program files\microsoft visual foxpro 9\tools\ab\graphics\indicator_remembermilk_orange.gif
c:\program files\microsoft visual foxpro 9\tools\ab\graphics\question64.png
the images are existing at these locations and following forms open without error messages:
C:\Program Files\Microsoft Visual FoxPro 9\Tools\AB\aw.vcx!awfrm
C:\Program Files\Microsoft Visual FoxPro 9\Tools\AB\aw.vcx!awfrmmb
C:\fic_small2a\xxx.vcx!xxxfrm (c:\fic_small2a\ is my project's folder)
C:\fic_small2a\xxx.vcx!xxxfrmmb
C:\fic_small2a\form1.scx
So I have no broken paths to fix, what else could I do?
Plamen helped us track down the bug :
it occurred when a VFP image.Picture link was broken (may happen if a vcx is moved between folders).
We've fixed the issue in code, will come with next release (V. 1.10 including full VFP event model support).
Meanwhile, one needs make sure all .picture pathes are correct in VFP classes and objects.
ThN