level 2
超级酷吧
楼主
Private Sub Command1_Click() '开始加1
Timer1.Interval = 1 '
Timer1.Enabled = True
End Sub
Private Sub Command2_Click() '停止加1
Timer1.Enabled = False
End Sub
Private Sub Text1_Change()
If Val(Text1.Text) = n Then
End If
End Sub
Private Sub Text2_Change()
If Val(Text2.Text) = n Then
End If
End Sub
Private Sub Text3_Change()
If Val(Text3.Text) = n Then
End If
End Sub
Private Sub Text4_Change()
If Val(Text4.Text) = n Then
End If
End Sub
Private Sub Text5_Change()
If Val(Text5.Text) = n Then
End If
End Sub
Private Sub Timer1_Timer() '自动加1
Text4.Text = Format(Val(Text4.Text) + 1, "")
End Sub
Private Sub 写入_Click()
写入文本_Click
Else
End If
End Sub
Private Sub 写入文本_Click()
Dim Var
Var = Text1.Text & "." & Text2.Text & "." & Text3.Text & "." & Text4.Text & ":" & Text5
Open App.Path & "\IP.txt" For Append As #1
Print #1, Var
Close #1
End Sub
2013年02月17日 07点02分
1
Timer1.Interval = 1 '
Timer1.Enabled = True
End Sub
Private Sub Command2_Click() '停止加1
Timer1.Enabled = False
End Sub
Private Sub Text1_Change()
If Val(Text1.Text) = n Then
End If
End Sub
Private Sub Text2_Change()
If Val(Text2.Text) = n Then
End If
End Sub
Private Sub Text3_Change()
If Val(Text3.Text) = n Then
End If
End Sub
Private Sub Text4_Change()
If Val(Text4.Text) = n Then
End If
End Sub
Private Sub Text5_Change()
If Val(Text5.Text) = n Then
End If
End Sub
Private Sub Timer1_Timer() '自动加1
Text4.Text = Format(Val(Text4.Text) + 1, "")
End Sub
Private Sub 写入_Click()
写入文本_Click
Else
End If
End Sub
Private Sub 写入文本_Click()
Dim Var
Var = Text1.Text & "." & Text2.Text & "." & Text3.Text & "." & Text4.Text & ":" & Text5
Open App.Path & "\IP.txt" For Append As #1
Print #1, Var
Close #1
End Sub