How to Set User Name and Password in GUI ..... password must be invisbile..... pls brefily explain about any one about code

5 views (last 30 days)
dear friends. i want to set a username and password for the login form with invisible password code .... anyone know this
pls send code and explain brefily......hope reply will come soon
  1 Comment
lakshmana prabu
lakshmana prabu on 4 Jan 2016
Edited: Walter Roberson on 4 Jan 2016
a=get(handles.edit1,'string');
b='123456';
l=strcmp(a,b);
if l==1
msgbox('rightpwd');
set(handles.edit1,'string','');
else
msgbox('wrong pwd');
set(handles.edit1,'string','');
end
sir i dont know to create user name function but i set password but its visible i need to invisible to show the password so u try to send full code sir... actually i search in file exchange but the code not much more worth. so pls

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 4 Jan 2016
Search the File Exchange for "password"
  1 Comment
lakshmana prabu
lakshmana prabu on 4 Jan 2016
Edited: Walter Roberson on 4 Jan 2016
=get(handles.edit1,'string'); b='123456'; l=strcmp(a,b); if l==1 msgbox('rightpwd'); set(handles.edit1,'string',''); else msgbox('wrong pwd'); set(handles.edit1,'string',''); end
sir i dont know to create user name function but i set password but its visible i need to invisible to show the password so u try to send full code sir... actually i search in file exchange but the code not much more worth. so pls

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!