What version of vb.net are you coding with? If it's 2005, you can utilize the My.Settings property... Otherwise, you'll have to write code to save the value to a file, and reload it when the app runs.