Private Sub Command2_Click()
'Code the character
Label3 = Asc(Text1)
'clears text box
Text1 = ""
' adds the coded character to textbox (label3)
LABEL6 = LABEL6 + "," + Label3
' set focus to textbox
Text1.SetFocus
'decodes the coded character
Text2 = Text2 + Chr(Label3)
End Sub
Private Sub Command3_Click()
'this part decodes the coded number
Label3 = Text3
Text3 = ""
LABEL6 = LABEL6 + "," + Label3
Text2 = Text2 + Chr(Label3)
Text3.SetFocus
End Sub
Sumber: www.vb-helper.com
Tidak ada komentar:
Posting Komentar