Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=82333 --- shadow/82333 2007-08-06 11:29:26.000000000 -0400 +++ shadow/82333.tmp.20749 2007-08-06 11:29:26.000000000 -0400 @@ -0,0 +1,49 @@ +Bug#: 82333 +Product: Mono: Runtime +Version: 1.2 +OS: other +OS Details: MDV 2007/2008 Cooker +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: misc +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Setting not saved in user Dir + +With MS VB you can add a setting file and add parametre inside, basicaly a +string parametre, also yu can define if it is "User" or "Application" +param, normaly with user param yu have a xml file just near the exe file of +the app, let's say my app is called "MyTestApp" normaly the setting file is +MyTestApp.exe.config", the role of this file is to store all defaut value +of all parametre, so in the code we can load it, after we can save all +value parametre and then under windows for the example, a file is created +in dir "c:\document and settings\accountname\local settings\application +data\society\appname\version\user.config" + +after this each time yu start the app, the parametre are load user.config, +but under linux it seems mono doesn't have the user.config and so each time +we reload only defaut value of parametre, not the user choice. + +HOW to reproduce it : +Start a windows application solution( with sharpdevelop, VB or VB express). +Add a new element, setting file. +add a setting called test, format string, user, and value "123456" + +Add this code add the shown event of the defaut Form1 : + + MessageBox.Show(Settings1.Default.Item("test"), "info", +MessageBoxButtons.OK, MessageBoxIcon.Information) + +Settings1.Default.PropertyValues.Item("test").PropertyValue = "Erase the +defaut value with this one" + Settings1.Default.Save() + + MessageBox.Show("Restart me again to see if the first messagebox +have the defaut value or the erased new value", "info", +MessageBoxButtons.OK, MessageBoxIcon.Information) _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
