Private Sub Form_Click()Open "C:\Documents and Settings\den\桌面\1.txt" For Output As #1
For x = 1 To 10 Print #1, "68"
Print #1, "本所有软工数据"
Print #1, "56 78"
Next
Close #1
End Sub
For x = 1 To 10 Print #1, "68"
Print #1, "本所有软工数据"
Print #1, "56 78"
Next
Close #1
End Sub
select case bCase
case 0
'68
case 1
'文字
case 2
'56 78
end select
Timer1.Interval = 1000
Open "C:\Documents and Settings\den\桌面\1.txt" For Output As #1
Timer1.Enabled = True
End SubPrivate Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
'结束
Timer1.Enabled = False
Close #1End SubPrivate Sub Timer1_Timer()
'定时写入
Print #1, ""
Print #1, "68"
Print #1, "本所有软工数据"
Print #1, "56 78"
End Sub
Private Sub Timer1_Timer()
Static A As Long
A = A + 1
Open "C:\Documents and Settings\den\桌面\1.txt" For Output As #1
Print #1, A
Print #1, "本所有软工数据"
Print #1, A & A
Close #1End Sub
Private Sub Form_Click() '开始
Timer1.Interval = 1000
Timer1.Enabled = True
End SubPrivate Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
'结束
Timer1.Enabled = False
End Sub
好人好运!
for i=0 to 999999999999999999999999999999999999999999999999999999999999
谢谢!
next i [email protected]