Hello ! I am making a login system in visual studio 2010 . I used this code and it works fine ! My.Settings.Username = TextBox1.Text My.Settings .