Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it good to put the DBC in the exe ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00533128
Message ID:
00533140
Vues:
23
>I read something here about putting the DBC in the exe to avoid corruption.
>Is it a good habit ? I suppose that, then, it becomes impossible to modify the structure of the database ? Is there any other bad side of this ?
>
>Thanks
>Eric

Personally, I do not like this idea. In order to modify the DBC, you have to distribute the modified APP/EXE file. This is a real PITA. You are better off citing the benefits of routine backups to your customers. Since that almost never works, you can provide the DBC, DCT and DCX files in a memo field of a FREE table. When the database files need to be recovered, you can use StrToFile() function to recreate them. You would use FileToStr() function to get them into the memo fields.

Then there is always Stonefield that I highly recommend for keeping your customers' database, tables, indexes, etc., all up to date.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform