Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. store users settings

store users settings

Scheduled Pinned Locked Moved C#
windows-adminquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 508833
    wrote on last edited by
    #1

    what would be the best way to store user settings, i.e. window locations, options, etc. would i use .ini files, the registry, or something else? thanks, Rob -- There are 10 kinds of people. Those who understand binary and those who don't.

    K N 2 Replies Last reply
    0
    • U User 508833

      what would be the best way to store user settings, i.e. window locations, options, etc. would i use .ini files, the registry, or something else? thanks, Rob -- There are 10 kinds of people. Those who understand binary and those who don't.

      K Offline
      K Offline
      Kannan Kalyanaraman
      wrote on last edited by
      #2

      Have you considered using Application configuration files(yourapp.exe.config) or using isolated storage. I think isolated storage support per user settings. Regards, Kannan

      U 1 Reply Last reply
      0
      • U User 508833

        what would be the best way to store user settings, i.e. window locations, options, etc. would i use .ini files, the registry, or something else? thanks, Rob -- There are 10 kinds of people. Those who understand binary and those who don't.

        N Offline
        N Offline
        Nick Parker
        wrote on last edited by
        #3

        Many people seem to have differing views on this subject, however I have written what I think is a handy class for doing something like this, check my following article: An extension for a Configuration Settings class in .NET[^] -Nick Parker

        F 1 Reply Last reply
        0
        • K Kannan Kalyanaraman

          Have you considered using Application configuration files(yourapp.exe.config) or using isolated storage. I think isolated storage support per user settings. Regards, Kannan

          U Offline
          U Offline
          User 508833
          wrote on last edited by
          #4

          from what i understand the app.exe.config file is readonly. if this is true then i can't use it. Rob -- There are 10 kinds of people. Those who understand binary and those who don't.

          1 Reply Last reply
          0
          • N Nick Parker

            Many people seem to have differing views on this subject, however I have written what I think is a handy class for doing something like this, check my following article: An extension for a Configuration Settings class in .NET[^] -Nick Parker

            F Offline
            F Offline
            Frank Olorin Rizzi
            wrote on last edited by
            #5

            This may sound like self-advertising, but I published something similar that may (or may not) fit our friend's needs: http://www.codeproject.com/csharp/CFGLitepack.asp So, now.. if he wants to use XML, he has Nick's class; else, he can use mine :-) Ain't CP great? F.O.R.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups