Advertisement
C_Volume2 Custom Controls/ Forms/ Menus #79144

Real mask you password

This code mask symbol in TextBox. Nobody (unmask-programm) cant show you password. Four line of code protect you programm.

AI

AI 摘要: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

源代码
original-source
'Place at Form TextBox. 
'General Declarations
Dim pswd As String 
'
Private Sub Text1_KeyPress(KeyAscii As Integer) 
  pswd = pswd + Chr(KeyAscii) 
  KeyAscii = Asc("*") 
End Sub 
'You can replace string KeyAscii = Asc("*") to
'KeyAscii = 0 and TextBox is no symbols "*"
原始评论 (3)
从 Wayback Machine 恢复