Question Can you create settings in code view?

Chris11

Active member
Joined
Jul 12, 2009
Messages
29
Programming Experience
1-3
Can you create new settings from the code view? Like if you wanted to add a new user, you could add a new settings for that user.
 
If you're talking about application settings that you access via My.Settings then creating new ones at run time doesn't really make sense. Settings are there to help you write code more easily but once the app is deployed your code is already written so creating new settings would be pointless.

There are many ways to answer your question but the "correct" answer really depends on information you haven't provided. There are all sorts of ways to persist data so there will definitely be a way to achieve your overall aim but whether that's using a database, the config file or something else depends on specifics. Please explain what exactly you're trying to achieve.
 
Back
Top