单项选择题

如果准备读文件,打开顺序文件"text.dat"的正确语句是

A.Open"text.dat"For Write As#1
B.Open"text.dat"For Binary As#1
C.Open"text.dat"For Input As#1
D.Open"text.dat"For Random As#1
<上一题 目录 下一题>
热门 试题

单项选择题
下列不属于软件工程的3个要素的是
A.工具
B.过程
C.方法
D.环境
单项选择题
设已经在“菜单编辑器”中设计了窗体的快捷菜单,其顶级菜单为Bs,取消其“可见”属性,运行时,在以下事件过程中,可以使快捷菜单响应鼠标右键菜单的是
A.Private Sub Form_MouseDown(Button As Integer,Shift As Integer,_X As Single,Y As Single)
  If Button=2 Then PopupMenu Bs,2
End Sub
B.Private Sub Form_MouseDown(Button As Integer,Shift As Integer,_X As Single,Y As Single)
  PopupMenu Bs
End Sub
C.Private Sub Form_MouseDown(Button As Integer,Shift As Integer,_X As Single,Y As Single)
  PopupMenu Bs,0
End Sub
D.Private Sub Form_MouseDown(Button As Integer,Shift As Integer,_X As Single,Y AS Single)
  If(Button=vbLeftButton)Or(Button=vbRightButton)Then PopupMenu Bs
End Sub
相关试题
  • 有如下程序: Private Sub Form_Click...
  • 在窗体中添加一个命令按钮,编写如下程序:...
  • 有如下程序: Private Sub Command1_C...
  • 有如下程序: Private Sub Command1_C...
  • 在窗体上画一个文本框,其名称为Text1,然...