Results 1 to 14 of 14

Thread: [RESOLVED]Adding Property to My.Settings @ runtime

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    198

    Resolved [RESOLVED]Adding Property to My.Settings @ runtime

    This is the code...

    VB Code:
    1. Dim prop As System.Configuration.SettingsProperty = New System.Configuration.SettingsProperty(TreeView1.SelectedNode.Parent.ToString)
    2. My.Settings.Properties.Add(prop)
    3. My.Settings.Save()

    The problem is that the property isnt added to the Settings. Does anyone know how to add a Property to the user settings?

    Thanx, Figa
    Last edited by figa; Aug 28th, 2006 at 05:26 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width