by Brandon (46 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 19th April 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
An easy function that will encrypt a password when a user enters text in a textbox they don't wish to have others see.
Function Encryption(EncryptCode As String)
EncryptCode = "*"
txtPassWord.PasswordChar = EncryptCode
End Function
'make sure a textbox named txtPassword is on your form and put this code
'below in its text change event
Private Sub txtPassWord_Change()
Dim Password As String
Encryption (Password)
End Sub
No comments have been posted about An easy function that will encrypt a password when a user enters text in a textbox they don't wish . Why not be the first to post a comment about An easy function that will encrypt a password when a user enters text in a textbox they don't wish .