Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with ImageList
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00065533
Message ID:
00065608
Views:
33
>>Jon,
>>
>>I would assume that you could embed the icon in the file, say, for example, as an icon for a form, but if you wished to use it via LOADPICTURE() somewhere else, you'd also have to supply an independent copy. I wonder, however, if the same thing might happen if the LOADPICTURE() was called without the path being included. The problem being that you don't always know in advance what the working directory for the application is going to be. Any thoughts on this?
>>
>>George
>
>I tried this also - apparently without any path Foxpro always tries to resolve a file refrence from a token in the
>exectable or app file - A had icons that were used on forms and that I needed to do load pictures with. I had to copy a second set of these icons to new names and reference them from the loadpicture!!!???
>In terms of where the application may be I use a relative path. ie I know my external images are always in the
>relative path of the app in the images subdir
>
>Hope this helps
>
>Jon

That's useful information that may save some of us some grief. I wonder, however, if this is an issue that will be addressed by the next version, or has been addressed since 5.0?

George
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform