Where to store application settings?

BadgerByte

Well-known member
Joined
Aug 5, 2005
Messages
194
Location
Ipswich, UK
Programming Experience
5-10
Hi all,

I've recently hit a problem with an application which has previously been working fine. The application stores some dynamic settings in a settings.ini file in the Program Files/Application/ folder. This works fine when the user is an administrator, however when the user is limited this file cannot be written to.

This has come as something of a shock, and I realise I should perhaps have put a little more thought into it!

How do you (anyone) store your settings, or more to the point where?

Regards,

Andy
 
Application settings could be stored easily with the settings tab of the properties window of the project. You can then access and modify these settings with the My.Settings namespace.

It's a nice way to store application settings!

Regards!
 
Back
Top