Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Size of exe
Message
De
26/09/1999 21:30:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
Divers
Thread ID:
00268573
Message ID:
00269177
Vues:
21
>I have several read only tables and I thought it would be easiest for distribution to just build the tables into the exe file. Does this have any adverse affects on performance? My exe file went from 3.5 MB to 8.5 MB after I added the tables. Is this a good practice or no?
>
>
>Rip Ryness



Please Exclude the following if possible!

Database, Table - You can't tract VFP as Access, if you include them, the size of exe will quick increase!
But you can't edit it at Run-Time!

Report, Label - and you copy them external at the same path for exe Run!
So that if user want to change the layout, No Need Quit the application for update but
simply overwrite the [fr?] for reports and [lb?] for label!!

Finally, pls try to Pack the Database especially you have modify the view structure!!
Currently My project have about 10 tables which some of them over 10k data,
with 30-50 reports/label and over 15 Forms.
BUT... My Execute File is around 1M only!!

Here is some simply coding for pack database, Remember to do Backup if possible!!
CLEAR ALL
CLOSE ALL
OPEN DATABASES myDataB EXCLUSIVE
PACK DATABASES

SET EXCLUSIVE OFF
CLEAR ALL
CLOSE ALL
^_~ Surely it will reduce most size of Exe!! Good Luck!
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform