02 June 2007

How to use the Settings class in C# - The Code Project - C# Programming

This article updates my knowledge of application settings in Visual Studio. The important points are:

* Settings can be directly accessed using early binding. The way to access it remains:

1. Set the reference to the proper namespace:
using [Assembly Name].Properties;
2. Refer to the property (substitute property name):
Settings.Default.PropertyName
3. Save the property:
Settings.Default.Save();

* Settings as the Application level are read only. Settings at the User level are read/write.

02 February 2007

FSO Wrapper Classes - Comments

I wrote the FSO classes because I needed to have some late binding file capabilities but was tired of trying to guess all the method calls. There wasn't a requirement to implement all of the FSO functionality, so if you use these classes you may have to add a method or two for your own programming purposes.

Speed is an issue here for some larger file processing. If you need something speedy, I early-bind to the FSO objects or late bind directly in your code.