Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a Local EXE
Message
 
À
15/02/1999 14:59:10
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00187779
Message ID:
00187839
Vues:
19
>Can anyone tell me what files are necessary in a workstation directory when running a Local EXE? What about MetaDBC.DBF? Should this be included or excluded from the EXE? If I include it, I get "MetaDBF has a reccount of 0" when I run the EXE. If I exclude it, I get "Can't find EDWIN.DBC".>

First of all, if you're not using multiple database containers in your application, you don't need to distribute it at all. If you are *not* using multiple database containers you can do the following:

1. Open your application class (located in AApp.vcx)
2. Set its lUseDBCMgrMetaData to False
3. Close the class and save changes.

This causes your application to save its settings to either an .ini file or the Windows Registry (based on the setting of the application class's lUseINIFile) property.

If you *are* using multiple database containers, do not include the file in your .exe. Instead, distribute it separately with your .exe file. The User Preferences form is used to edit the values contained in this table.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform