Dim strUser As String, strPass As String
In the login click event, add the variables to the string. This will be then be saved throughout the forms life
strUser = Username 'Whatever you have in your text box
Sorry I think I did not put my prob clearly. I want option for user to if they want to remember username password if he clicks yes then next time when he open application login info gets populated like in web application. Is it possible in windows application
wow..its realy unsecured. that mean anybody can access a program.
say, if andre has already registered as user then every you open the program, he directly enter without login. so, what about another user open this program?
another user can directly access program too..
i suggest to load a user name and display it when user type a user name, but not the password.
You can use a database to save/retrieve the information or you can use the settings option of your project to save the information as well and then retrieve it when the form loads again, or you reopen the whole app.