>Tim,
>
>Yes, that worked. It's funny since I have subclassed mmAppConfiguration and have a custom config in my application that I have been able to update. I incorrectly assumed that the WriteKeysToConfig() method knew about the default application configuration file and I did not need to pass the file name. I know, never assume. Once I passed the file name, it saved properly.
>
>One other question, are there any methods for adding or removing keys? If I build a UI to allow a user to create a new database connection, how do I insert the new keys values. I know I can use the XmlTextWriter class, but I was looking for something in the framework.
>
>Thanks again for your help with these questions, your assitance is very much appreciated.
>
>Kind Regards,
>
>Mat
>
You are more than welcome. I am not aware of anything, but it would be worth while opening up the MM Framework solution and looking at those classes to see what all is in there. I would suppose for something like that (although risky for a user to enter a connection string) you could put in properties for extra things and then give the user a UI to add some things. Would take a bit of work to validate and use stuff they add like this however.
Tim
Timothy Bryan