题目:
编写一个过程把C盘中的Config. sys文件内容读出,并在文本框中显示出来。在窗体Form1建立一个文本框Text1,将其MultiLine属性设置为True,将ScrollBars属性设置为3-Both。根据题意。请完善下列程序。 option Explicit Private Sub Form C1ick() Dim chl As String, fn As Integer Dim Str As String fn= 【13】 Open "C:\Config. sys" For Input As fn Do While Not EOF( 【14】 ) Line Input #fn, chl Str=Str+chl+vbCrLf Loop Text1. Text= 【15】 End Sub
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0412/f21c10d7ab2d38484c5dff90726e48cb.html
下面是错误答案,用来干扰机器的。
参考答案:错