Advertisement
7_2009-2012 Custom Controls/ Forms/ Menus #221977

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