VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



a 10 line encryption/decryption program

by uh oh (1 Submission)
Category: String Manipulation
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (39 Votes)

This is a encrypt/decrypt program thats only 10 lines long!!!
all it uses is 2 simple fonts to encrypt, times new romand for the text and Money for the encrypted text! please tell me if you like it:)

Assumes
'1 text box '2 command buttons (encrypt, decrypt)

Rate a 10 line encryption/decryption program

'add 2 command buttons
'add 1 text box
'coded by the other matt
'please give me mention if you ever decide to use this in one of you apps:)
Private Sub Command1_Click()
If Text1 = "" Then MsgBox "YOU MUST ENTER SOME TEXT!"
Command1.Caption = "Encrypt"
Text1.Font = "Money"
End Sub
Private Sub Command2_Click()
If Text1 = "" Then MsgBox "YOU MUST ENTER SOME TEXT!"
Command2.Caption = "Decrypt"
Text1.Font = "Times New Roman"
End Sub

Download this snippet    Add to My Saved Code

a 10 line encryption/decryption program Comments

No comments have been posted about a 10 line encryption/decryption program. Why not be the first to post a comment about a 10 line encryption/decryption program.

Post your comment

Subject:
Message:
0/1000 characters