こんな感じでクラス作ったほうがいろいろ便利だと思う。

アプリケーションの設定を保存する
http://dobon.net/vb/dotnet/programing/storeappsettings.html