Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

app information storage

Posted on 2006-07-14
2
Medium Priority
?
225 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
athapa earned 1000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

715 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