Solved

app information storage

Posted on 2006-07-14
2
218 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
COnsume rest client 6 36
Anyway to make "All" the default in the dropdown? 6 34
VB.Net How to Exit Sub - Exit Form??? 5 51
Not showing JavaScript in the list 5 41
Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now