My recent article with the wallpaper cycler made use of application settings to retain the location of the pictures folder, whether to recurse into subfolders, and other options. You can run the application and immediately change the wallpaper using the system tray notification icon. As it turns out, I had a bug in my implementation. I used the Properties pane to associate my user interface fields with application settings. In my code then, I assume that all data transfer is two ways throughout. While this is true in the general case, it turns out that until the form is shown for the first time, the controls are not set yet.
What this means, is that I can reference a TextBox control with no error, but the value will be the default, not based on the setting. The fix is simple. Anywhere in the code that I need to use the values, I just needed to switch to the settings.SettingName form, instead of the control.Text form. So easy!
I'd like to thank Ong Michael who gave me the heads up on this. Another .NET nuance to stick under my cap!
You can download updated source (C#) here.