Best way to create options form?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • m*@gmail.com

    #1

    Best way to create options form?

    Hi all...

    I would like to have an options form with my application that the user
    can set different settings. I have the form, now to save the
    information, is it best to save to a text file? Or the registry?

    Any advice would be great
    Thanks
    M

  • Brian Mitchell

    #2
    Re: Best way to create options form?

    Personally, I like to save my options in the HKEY_CURRENT_US ER section of
    the registry that way each logged on user has his/her own options. But you
    can also save them in an XML file if you want.

    The only bad thing about the registry is that it can be slow at times to
    save the data and your application will drag or hang until the update is
    done.



    "m*@gmail.c om" <mikeyatsony@gm ail.com> wrote in message
    news:1120679909 .085415.210980@ z14g2000cwz.goo glegroups.com.. .[color=blue]
    > Hi all...
    >
    > I would like to have an options form with my application that the user
    > can set different settings. I have the form, now to save the
    > information, is it best to save to a text file? Or the registry?
    >
    > Any advice would be great
    > Thanks
    > M
    >[/color]


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Best way to create options form?

      "Brian Mitchell" <MagellanTX@hot mail.com> schrieb:[color=blue]
      > Personally, I like to save my options in the HKEY_CURRENT_US ER section of
      > the registry that way each logged on user has his/her own options. But you
      > can also save them in an XML file if you want.[/color]

      Storing and loading user preferences
      <URL:http://dotnet.mvps.org/dotnet/faqs/?id=userprefere nces&lang=en>

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      • Cor Ligthert [MVP]

        #4
        Re: Best way to create options form?

        Brian,

        Have you ever seen what explorer is adding/changing to/in the register
        constantly?

        However I agree that it should be decent used. It is not an intermidiate
        data store, however only to save certain settings at the begin or end.

        Cor


        Comment

        Working...