Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Including BMPs & ICOs in Project
Message
From
09/02/1997 23:23:42
 
 
To
09/02/1997 22:58:17
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00019467
Message ID:
00019818
Views:
36
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform