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

  • Home
  • SEARCH
  • 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 6595733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:58:41+00:00 2026-05-25T17:58:41+00:00

I have a project that will require merging multiple snippets of text together. There

  • 0

I have a project that will require merging multiple snippets of text together. There will be a record of multiple snippets of text, that depending what boxes a user ticks, will be merged in to a single output file.

I suppose you could imagine it as each snippet is a sentence of text that has one or more tags. as then if the user clicked on tag name in the application it would pull out all sentences with that tag in to an array/list.

What is the best way to achieve this?

  • I need the users to be able to add new snippets as they go and to be
    stored when the application is shut down.

  • Must be easy to copy all the snippets from one instance of the
    application to another, ideally simply copying a folder, or single
    file to export/import.

  • It may have more than 500 snippets of code, each a few hundred lines long. So I’m not sure simply storing each item as a text file would work or
    would not slow down the application too much.

  • I don’t want a centralized db server. It needs to work completely stand-alone as I can’t guarantee the user would have network access.

  • If it uses a Database needs it to be contained within the app. I don’t want the
    user to need to install a 3rd party app or DB server to use the tool.

So how do I go about storing this in a DB and how can I make the date exportable between separate instances?

I am sure that I could work together my own DB code, but I am sure that would be horrendous and slow. Is there a standard method that I should be looking at. Don’t need to know how to do it. I just want some ideas to look at before I run of down the wrong path.

  • 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-25T17:58:42+00:00Added an answer on May 25, 2026 at 5:58 pm

    You might want to look at something like SQL Compact for your database – it is zero installation, all you have to do is ship a couple of dlls with your application. Here is a good tutorial from Scott guthrie on how to use it with your application.

    There are also a number of other small “embedded” style database management engines out there, but that may be overkill depending on the amount of data you are storing. Alternatively you could store your text snippets in a local XML file, and use LINQ to XML to manage it. (Starter article: LINQ to XML – 5 Minute Overview).

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

Sidebar

Related Questions

Hey all. I have a project that will require user input of anywhere from
We have a Silverlight 2 project (game) that will require a lot of character
I have an art project that will require processing a live video feed to
I have a project in mind that will require the majority of queries to
Hey All, I have an upcoming project that will require the same assets (images,
I'm working on a project that will require user authentication. Currently I'm planning on
Im sure this will be a simple one but have a project that started
I have project that I'm working on that is going to require a webserver.
I am working on a project that will require internationalisation support down the track.
I'm working on a project that will require me to implement a calendar. I'm

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.