[填空題] 下面一段程序的功能是,單擊命令按鈕后將D盤temp 目錄下的staff.txt 文件內容讀出,并在文本框Text1中顯示出來。請?zhí)羁铡?Privat
2021-07-20
[填空題] 下面一段程序的功能是,單擊命令按鈕后將D盤temp 目錄下的staff.txt 文件內容讀出,并在文本框Text1中顯示出來。請?zhí)羁铡?Private Sub Command1_ Click() Dim Line As String, FileNo As Integer Dim People As String FileNo = FreeFile Open "D:empstaff.txt" For Input As ______ DO While Not ______ Line Input #FileNo, Line People = People + Line + Chr(13) + Chr(10) Loop Text1.Text = People End Sub
正確答案:EOF (File No) # FileNo
詞條內容僅供參考,如果您需要解決具體問題
(尤其在法律、醫(yī)學等領域),建議您咨詢相關領域專業(yè)人士。