在窗体上画一个文本框,名称为Text1,然后编写如下程序: Private Sub

题型:填空题

问题:

在窗体上画一个文本框,名称为Text1,然后编写如下程序:
Private Sub Form_Load()
Open "d:\temp\dat.txt" For Output As #1
Text1.Text=""
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii=13 Then
If Ucase(Text1.text)= (10) Then
Close #1
End
Else
Write #1, (11)
Text1.Text=""
End If
End If
End Sub
以上程序的功能是:在D盘temp文件夹下建立一个名为dat.txt的文件,在文本框中输入字符,每次按回车键都把当前文本框中的内容写入文件dat.txt,并清除文本框中的内容;如果输入END,则不写入文件,直接结束程序。请填空。

考点:计算机等级考试VISUALBASIC二级VISUALBASIC笔试
题型:填空题

病历摘要:患者男性,58岁。左下腹隐痛伴脓血便3个月,大便变细,体重减轻3kg,查体:左下腹轻度压痛,无反跳痛,未们及包块。

确诊后首选哪种治疗方案?()提示:病理符合腺癌改变

A.手术治疗

B.化学治疗

C.放射治疗

D.介入治疗

E.中医治疗

题型:填空题

The football match _______ the students competed yesterday was very wonderful.

A.in which

B.which

C.in that

D.that

题型:填空题

某地拟建一座高层住宅,如下图所示,四层为裙房,则裙房屋面的雨水流量为()。已知重现期1a时设计降雨强度为336L/(s·ha);2年设计降雨强度为419L/(s·ha)。(注:设计重现期规范规定值的低值采用)。

A.25.45L/s

B.26.8L/s

C.27.26L/s

D.28.92L/s

题型:填空题

根本违约、非根本违约

题型:填空题

Which action(s) should the operator of a pedestal crane take if crane control is lost?()

A.Let go of both control levers and return to neutral position

B.Press the emergency stop

C.Notify the mate on watch

D.All of the above

更多题库