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

6 ビュー (過去 30 日間)
lakshmana prabu
lakshmana prabu 2016 年 1 月 4 日
編集済み: Walter Roberson 2016 年 1 月 4 日
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 件のコメント
lakshmana prabu
lakshmana prabu 2016 年 1 月 4 日
編集済み: Walter Roberson 2016 年 1 月 4 日
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

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 1 月 4 日
Search the File Exchange for "password"
  1 件のコメント
lakshmana prabu
lakshmana prabu 2016 年 1 月 4 日
編集済み: Walter Roberson 2016 年 1 月 4 日
=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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeWhos についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by