Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 360569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T12:30:04+00:00 2026-05-12T12:30:04+00:00

Just building my first WinForms application. Question – What’s the easiest/best approach for saving

  • 0

Just building my first WinForms application.

Question – What’s the easiest/best approach for saving some data between use of the application (e.g. list of URL with status & date/time in this case)? I don’t see any need for a database.

For example
* Is just storing to text file easiest?
* Or is storing to XML file just as easy in DotNet
* How about Windows Registry – is this something generally to avoid? Is it’s use compatible across all versions including Windows 7
* Database – probably overkill here
* A widely used library perhaps?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T12:30:05+00:00Added an answer on May 12, 2026 at 12:30 pm

    Storing to XML is very easy in .NET, particularly if you’re really just storing a URL and a timestamp. You could create a custom class to hold the data… at runtime, manipulate instances of that class in your app.

    When it’s time to save, serialize the object(s) to XML… when the app needs to restore the data later, just deserialize. MSDN has a simple walkthrough.

    It’s worth noting, as Quintin did, that using SQL Server Compact or some other lightweight database might also be a good idea. XML’s quick and easy – but if you need people to share data or you need anything more flexible than simple serialization, you’re better off with a database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a WinForms C# 3.0 / .NET 3.5 project involving building some
I am just getting started learning rails. I am building my first app using
Building an application, before using a real database, just to get things work I
I'm building some application, the involves training programs. my issue is like this, A
I am currently researching the best methods to integrate i18n into projects. There's several
I am building a facebook-like newsfeed and need help. We would like to start
I am building a table with ajax and then attaching a jQuery tablesorter (found
I just finished working out a memory allocation problem with the current program I'm
I have a piece of code that I can run in four ways Debug
I've started using Code Contracts in all new code I'm writing, such as in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.