Fritz.fx 0 Newbie Poster

Using Visual Studio 2010
I'm trying to save the Items in a listbox to the User Settings, (System.Collections.Specialized.StringCollection) named MyListItems.

When I start debugging from VS it will not save the settings or load any settings already in the config.
But If I run the appname.exe (in bin/debug) as an administrator it works fine.

I can't see how an app would need admin rights to add info to the user.config file, especially when it's there to be written to without admin rights.
Anybody got any ideas??

oh btw UAC is at default.


Here's the code if needed

void add_to_listbox()
        {
                string val = addshare.Text.Trim();
                if (addlistbox.Items.Contains(val))
                    MessageBox.Show("Network sharename is already in the list"); 
                else
                {
                    addlistbox.Items.Add(addshare.Text);
                    WindowsFormsApplication1.Properties.Settings.Default.MyListItems = new System.Collections.Specialized.StringCollection();
                    foreach (object item in addlistbox.Items)
                    WindowsFormsApplication1.Properties.Settings.Default.MyListItems.Add(item.ToString());
                    WindowsFormsApplication1.Properties.Settings.Default.Save();
                }
        }

        private void Settings_Load(object sender, EventArgs e)
        {
            if (WindowsFormsApplication1.Properties.Settings.Default.MyListItems != null)
                foreach (string txt in WindowsFormsApplication1.Properties.Settings.Default.MyListItems)
                addlistbox.Items.Add(txt);
        }