>>I 've created a program where all elements are stored in different directories. For instance: bitmaps & icons in \BMPS (not all the bitmaps are used for each program), forms in \FORMS, databases in \DBF. If I run this program from the VFP desktop everything works fine, but if I compile this porgram to a stand-alone .EXE file, all the used icons en bitmaps are not shown. If I include them in the project, it works ok. Is there a way to include them automatically? Because that would mean a lot of work for me if I'm creating program which use lots of icons and bitmaps.
>>
>>Michel
>
>Generally any object (form,bitmap,etc.) you use in code or as property in form designer will be incorporated into project AND exe file automatically during compiling. The only exception is the case when you use macros like:
> cIcon="icon.bmp"
> Form.Icon=&cIcon
>Try to eliminate such cases in your application.
You could use set path in your startup program to include a search path for your subdirectory entries.
Terry Rooks
Software Systems Architect
Microsoft Certified Solution Developer.Net
If at first you don't succeed, then skydiving definitely isn't for you.