Solved

app information storage

Posted on 2006-07-14
2
219 Views
Last Modified: 2010-04-16
Hello Experts,
                    What 's the most common way of storing application information? That is, I would like to have a place where I could put some key information about the application at install and be able to update it leter on such as options, user settings, paths, information lists of the application level, stuff like that. I have heard some use registry, others .ini files. Could you please reflect a bit on that?

Thanks,
Serge
0
Comment
Question by:Autofreak
2 Comments
 
LVL 10

Accepted Solution

by:
athapa earned 250 total points
ID: 17112812
If the settings don't need to be updated during runtime and only gets updated with new release or so then you can you App.config . This is a xml file from where you can easily retrieve those settings.

You can always use plan xml file to save your settings.

Another alternative would be use xml or binary serialization to store you settings and deserialize and load them when your app starts. R

egistry is also quiet easy to deal with in .Net.

You do need to consider the security settings in the user's machine if you are going to save your settings as a file. Sometimes they may not have rights to modify or create new files in the c:\Program files folder so you may need to save those settings to user profile folder or other location.

AT
0
 

Author Comment

by:Autofreak
ID: 17157858
Thanks Man!

Have a nice weekend
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question