题目内容

窗体上有一个名称为Text1的文本框和一个名称为Command1的命令按钮。要求程序运行时,单击命令按钮,就可以把文本框中的内容写到文件out.txt中,每次写入的内容附加到文件原有内容之后。下面能够实现上述功能的程序是

A. Private Sub Command1_Click()
B. Open "out.txt" For Input As #1
C. Print #1, Text1.Text
D. Close #1
End Sub
F. Private Sub Command1_Click()
G. Open "out.txt" For Output As #1
H. Print #1, Text1.Text
I. Close #1
J. End Sub
K. Private Sub Command1_Click()
L. Open "out.txt" For Append As #1
M. Print #1, Text1.Text
N. Close #1
O. End Sub
Private Sub Command1_Click()
Q. Open "out.txt" For Random As #1
R. Print #1, Text1.Text
S. Close #1
T. End Sub

查看答案
更多问题

The missing man was found ______ in the back of the truck.

A. wrapped
B. fixed
C. fastened
D. bound

71()

A. that
B. when
C. while
D. as

62()

A. so as
B. and that
C. so that
D. such that

Employers ______ their employees to be punctual.

A. wish
B. expect
C. desire
D. hope

答案查题题库