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 4625880
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:20:13+00:00 2026-05-22T03:20:13+00:00

I’m writing a new c# desktop application that is going to allow users to

  • 0

I’m writing a new c# desktop application that is going to allow users to select a group of image files that the application requires to remember. I also have some other settings to save that I was going to save as an xml file along with the files they specify. I was thinking of trying to save the files together in a zip/cab type file or something similar, sort of like a .war or .docx file. That way when the user comes back, they can select their file and have everything they need. This way user’s wouldn’t be able to (easily) delete a needed file. Cons would be the file could get rather large, especially since it could contain image files.

But, then I was thinking of how visual studio stores things in their project files (.cproj) which is a pointer to specific files in a folder. This seems like a good solution also. Going this route, I’d have to add some more error checking to make sure the user didn’t delete a file. I’m not sure if this would out way the code needed to zip/unzip the files though.

Any pointers on which way would be better? Any pros/cons to either method?

  • 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-22T03:20:14+00:00Added an answer on May 22, 2026 at 3:20 am

    Hmmmm…. as you are looking at having an XML file anyway, i would look at saving the image data as a CDATA section in the XML file, from this they can be recreated (and the images won’t get “lost” or “moved”).

    While this can lead to a rather large XML file, you can always zip it once it gets over a certain size (up to a certain size there will be no payback in zipping it, the time it takes to unzip it can be longer than the time it takes to load the uncompressed version).

    Including it in the XML file also eliminates the need for using a database for storage – although using SQLCompact might also be a viable option (you can just store the image in the database).

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

Sidebar

Related Questions

No related questions found

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.