Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Including BMPs & ICOs in Project
Message
De
09/02/1997 23:31:16
 
 
À
09/02/1997 23:23:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00019467
Message ID:
00019819
Vues:
37
>>>I have built an EXE. In some of the forms I am using BMPs & ICOs for Image and Drag and Drop controls. During development I gave the exact loaction for the image control. ie "C:\app\user.bmp". Now while creating a distributed EXE I simply want to include these BMPs & ICOs in my EXE and also I don't want to give exact loaction of BMP. Because BMP is now going to be included in EXE. So what should I give in the "picture" property of an image control?
>
>Let it as you have it now. When you include a bmp in your exe, the app will find your pictures. This is solved internally by FoxPro.
>
>>As far as I know that if you include your BMPs & ICOs in your EXE, it will grow bigger which means more time to load the application.
>>Right?
>
>It's true that your exe will grow. But there's a BIG advantage: your exe will always find all those little bmp files. I have an extensive experience with "inventive" clients who decide to delete file/subdirectories because they never use them. Starting with the system directory from Windows (it's not useful since I never use it, isn't it) and ending with "del *.bmp" because they have read somewhere that bmp it's not the most economic image file type.
>
>So, my advice: always include all the files you need, except those that must be modified at runtime. Even for these files, consider the idea of working with temporary files at runtime. (You can always make a temporary copy of any file included into an exe).
>
>Vlad

Since we having netware environment, I have no problems with the clients because I set these type of directories as READ ONLY.
System Analyst
Nabil B. Ghrayyeb
nabilg@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform