Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Storing and editing app,user and custom settings in a desktop applications

I'm building a new version of a windows forms application that is beeing installed on a various range of different pc's. The application is beeing installed by a technician, which are configuring different application, user and other settings during the install. These settings I've been storing in the registry up until now, and at every startup of the application it reads the registry to get the different values. If we need to change any setting in the registry we do that directly in the reg (experienced technicians) or through a reinstall (rookie technicians) of the application.

As I'm now building a new version I'm wondering what's the best pratice for handling these types of settings. I want to move it out of the registry and into some kind og setting, resource, xml file that I can manipulated directly under installation process and also afterwards within the application/or through a helper application that is designed for technicians.

So what's the prefered way to store and edit application and user specific settings for a windows forms application?

The Applicatin is a Win 32 bit VB.Net desktop forms app.

like image 510
Mcad001 Avatar asked Dec 05 '12 11:12

Mcad001


People also ask

What are desktop apps and examples?

A desktop application is a software program that can be run on a standalone computer to perform a specific task by an end-user. Some desktop applications such as word editor, photo editing app and media player allow you to perform different tasks while other such as gaming apps are developed purely for entertainment.

What are application settings?

Application settings enable you to store application information dynamically. Settings allow you to store information on the client computer that shouldn't be included in the application code (for example a connection string), user preferences, and other information you need at runtime.

What is desktop application and Windows application?

(1) An application that runs stand-alone in a desktop or laptop computer. Contrast with "Web-based application," which requires the Web browser to run. The term may be used to contrast desktop applications with mobile applications that run in smartphones and tablets.


1 Answers

Personally, I'd use the back end. Create a user table and store whatever preferences you want.

like image 58
Beth Avatar answered Sep 20 '22 23:09

Beth