Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Location of SDT Meta data
Message
De
19/04/2000 14:25:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Location of SDT Meta data
Divers
Thread ID:
00361447
Message ID:
00361447
Vues:
47
I’m using Stonefield Database Toolkit with the Mere Mortals framework, my problem right now is that users have a different drive letter mapping the path to the common database.

Meta data files should be found by means of the path established into property cMetaDataDir. Since this property is already set when the .exe is built, the StoneField class can’t be instantiated and properly added to the framework for those users which have a different drive letter mapped to the database destination.

Right now I’m using the framework's GetSetting function in order to retrieve the value of the "DBC Locations - Local" key from the windows registry to set the cMetaDataDir property on the Init event of Stonefield Class:

this.cMetaDataDir = This.Parent.GetSetting( "dbc locations - local" ,"MyDBC" , "" )
dodefault()

This seems to solve the problem. However, I’d like to read someone else’s opinion/advise or any other way around to solve this.

I'm probably missing something.

Thanks and Regards

Oscar Corte
Répondre
Fil
Voir

Click here to load this message in the networking platform