puoi usare il Registro si sistema. Datti un'occhio alle funzioni SaveSetting e GetSetting.... Non è difficile