private bool IsVfw4x264PathSetInSettings() { Setting setting = Program.ApplicationSettingsService.GetSettingByName("vfw4x264"); if (setting == null || string.IsNullOrEmpty(setting.Value)) return false; else return true; }