Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registry vs. MetaDBC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00362059
Message ID:
00363122
Vues:
16
Cathi,

>The data path seems to be stored in both the Registry and the MetaDBC table. Which one actually controls the framework? If you change one will it change the other? I have the lUseDBCMgrMetaData set to TRUE. Does this change how the data paths are read and from which source?>

If you have lUseDBCMgrMetaData set to True, the database settings are read from and written to the MetaDBC table. If you have settings stored in the Windows Registry, it's because they were stored there before you set the lUseDBCMgrMetaData property to True.

>If you want to automatically set the correct paths during the installation, where do you create the path location (in the Registry and/or the MetaDBC table). When you set this can you eliminate the initial form to appear which asks about where the data is located the first time a machine uses the application?>

With lUseDBCMgrMetaData set to True, you would set them in the MetaDBC table. If you want each workstation to point to a different data drive/directory, you can place a copy of MetaDBC.dbf on their workstation in the same directory as you store your application's executable.

If you don't want the Preferences form to display when the application is first run on a workstation, you can override your application class' OnFirstTimeRun() method.

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