Jim, I presume that you must have deleted the intermediate path whilst the picture was in the VFP Cache hence it displayed OK. "Clear resources" clears out the VFP cache in case you didn't know. At runtime of course VFP would rediscover the path and subsequently not find the picture.
Did you add the picture into the project? That way VFP ignores the path completely as the picture would exist in the project. And you would have maybe found the error sooner. I use this when I programmatically add the picture to say a commandbutton without bothering to add any path. Dave Crozier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Winter Sent: 22 June 2006 14:01 To: profox@leafe.com Subject: Path resolution at design and run time Ran into an interesting situation that I haven't seen before. I have a command button with a picture on it. The full path to the picture was listed in the picture property, but, by mistake, I left out an intermediate directory so it was pointing to a nonexistent directory. The picture was visible at design time but not at run time. So, apparently, at design time VFP looks at the path setting and overrides the specified path if it points to a nonexistent directory, but it doesn't do this at runtime. Regards, Jim --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.