第1个回答 2013-09-14
既然同胞都出声了,我还不帮忙吗,兄弟,我刚写了一段代码,你看看能用不
Private Sub Form_Load()
Open "C:\123.txt" For Input As #1
End Sub
Private Sub Command1_Click()
On Error Resume Next
Dim str As String
Line Input #1, str
Text1.Text = str
End Sub本回答被网友采纳
第2个回答 2013-09-14
Private Sub Command1_Click()
Dim s As String
While Not EOF(1)
Line Input #1, s
Text1.Text = s
Wend
End Sub
Private Sub Form_Load()
Open "d:\new\high.txt" For Input As #1
End Sub
Private Sub Form_Unload(Cancel As Integer)
Close #1
End
End Sub
第3个回答 2013-09-14
很简单 有很多办法的
第4个回答 2013-09-14
既然同胞都出声了,我还不帮忙吗,兄弟,我刚写了一段代码,你看看能用不
Private Sub Form_Load()
Open "C:\123.txt" For Input As #1
End Sub
Private Sub Command1_Click()
On Error Resume Next
Dim str As String
Line Input #1, str
Text1.Text = str
End Sub本回答被网友采纳
第5个回答 2013-09-14
Private Sub Command1_Click()
Dim s As String
While Not EOF(1)
Line Input #1, s
Text1.Text = s
Wend
End Sub
Private Sub Form_Load()
Open "d:\new\high.txt" For Input As #1
End Sub
Private Sub Form_Unload(Cancel As Integer)
Close #1
End
End Sub
第6个回答 2013-09-14
很简单 有很多办法的