把源码发出来啊
2009-09-04 10:02
2009-09-04 17:40
2009-09-09 16:47
2009-09-09 20:03
程序代码:Private Sub Command1_Click() Dim n As Integer '加密 Dim i As Integer Dim t As Integer n = Len(Text1.Text) For i = 1 To n c = Mid(Text1.Text, i, 1) t = Asc(c) + 1 Text2.Text = Text2.Text + Chr(t) Next i End Sub Private Sub Command2_Click() Dim n As Integer '解密 Dim i As Integer Dim t As Integer n = Len(Text1.Text) For i = 1 To n c = Mid(Text1.Text, i, 1) t = Asc(c) - 1 Text2.Text = Text2.Text + Chr(t) Next i End Sub Private Sub Command3_Click() Text1.Text = "" '清空 Text2.Text = "" End Sub原理其实很简单,望多提意见!
2009-09-20 12:04