Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmUserOptionsForm
Message
From
07/11/2008 18:34:17
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01359539
Message ID:
01360623
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform