Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exe files & icons
Message
De
08/10/1996 13:11:22
 
 
À
07/10/1996 09:07:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00009516
Message ID:
00009623
Vues:
29
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform