You need to create the variables in the Settings tab in your project properties, and then just write My.Settings.[name of variable] and use it as a normal variable.