在窗体上画一个通用对话框图,其Name属性为Cont,瑞画一个命令按钮,Name属性为Command1,然后编写如下事件过程:
Privute Sub Command1_Click( )
Cont.FileName=" "
Cont.Flags=vbOFNFileMustExist
Cont.Filter="All Files| * . *"
Cont.FilterIndes_3
Cont.DialogTitle="Open File"
Cont.Action=1
If Cont.FileName=" " Then
MsgBox "No file selected"
Else
Open Cont.FileName For Input As #1
Do While Not EOF(1)
Input #1. b$
Print b$
Loop
End If
End Sub
以下各选项,对上述事件过程描述错误的是( )。