Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing with Application Settings Manager
Message
 
À
03/02/2008 21:17:37
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01278973
Message ID:
01290982
Vues:
23
>I have used the WriteKeysToConfig method of the mmAppConfiguration class to write out a settings.xml file using strongly typed properties. When I use the ReadKeysFromConfig method to read that same file, it always uses the default values as if it does not find the proper key values in the file. I have tried renaming the file to settings.config, but it still doesn't find the values in the file. When I walk through the code, the InnerXML property of the DOM contains the proper xml. So I assume that it is seeing it as XML okay. I have even tried using the GetKeyFromConfigSection, but that was returning the defaults also.

Have you followed the steps in the Dev Guide for creating a subclass of mmAppConfiguration? How are you specifying the config file name? What type of application are you using the class from?

Best 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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform