Results 1 to 3 of 3

Thread: What should i use to store data?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Location
    Greater Manchester, UK
    Posts
    476

    Question What should i use to store data?

    How should i store the data in this program?

    I thought of a text file or registry but i dont know,

    The program sets restrictions for users. It needs to save the value of the checkboxes someway, and then load it at log on so it will set the restrictions for that user.

    i thought of storing the data to a text file in the users dir.

    Thanks in advance,
    Chris1990
    Attached Images Attached Images  
    If your question is answered then mark your thread RESOLVED and give credit to whoever answered it.

    If you fail, try and try again, its the only way to success.

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429

    Re: What should i use to store data?

    In addition to the TextFile, or registry or ini file for that matter.
    You want to consider XML.

    The Registry will soon be a thing of the past - particularaly with new OS's,
    and to dovetail into the .Net framework, it may worth wile using XML for forward comatability and knowledge. There are tons of example posted here if you want to review XML.

  3. #3
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: What should i use to store data?

    Quote Originally Posted by Bruce Fox
    ...You want to consider XML...
    I concur that but would also recommend to use database of any kind (perhaps MS Access).
    Doesn't matter the size - it's the technic you'd learn that will matter.

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