Yes,Mark, that seems fine.
I made a method that's a little more generic
Haven't tested for invalid data in this version ...
public static object GetProfileEntry(string sSubSection, string sProperty)
{
UserConfigurationManager ucManager = Application.UserConfigurationManager;
IConfigurationSection currentProfile = ucManager.OpenCurrentProfile();
IConfigurationSection subSection = currentProfile.OpenSubsection(sSubSection);
return subSection.ReadProperty(sProperty, "");
}
A piccy for Joe ..