Easily Save and Retrieve Application and User Settings in VB.NET or C# Apps

  We used to save our application or user settings in an INI file (dark ages) or more recently in XML files using our own code or classes borrowed from other developers. But applications built with the .NET framework using Visual Studio can take advantage of built-in tools to simplify or speed up access and saving of runtime values. Once common example is saving database connection string information in a configuration file so that it may be changed without need to recompile the application. Here are some simple examples in VB.NET. C# code uses a slightly different syntax the concepts … [Read more...]