皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
在窗体上有1 个名称为CommonDialog1 的通用对话框和1 个名称为Command1 的命令按钮,以及其他一些控件。要求在程序运行时,单击Command1 按钮,则显示打开文件对话框,并在选择或输入了1 个文件名后,就可以打开该文件。下列是Command1_Click 事件过程的两种算法。 算法 1: Private Sub Command1_Click( ) CommonDialog1.ShowOpen Open CommonDialog1.FileName For Input As #1 End Sub 算法2: Private Sub Command1_Click( ) CommonDialog1.ShowOpen If CommonDialog1.FileName<>′′′′ Then Open CommonDialog1.FileName For Input As #1 EndIf End Sub 下列关于这两种算法的叙述中正确的是( )。
A.
显示打开文件对话框后若未选择或输入任何文件名,则算法2 会出错,算法1 不会
B.
显示打开文件对话框后若未选择或输入任何文件名,则算法1 会出错,算法2 不会
C.
两种算法的执行结果完全一样
D.
算法1 允许输入的文件名中含有空格,而算法2 不允许
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】治疗心功能不全时,洋地黄化的临床意义在于
A.
加强心肌收缩力
B.
减慢心率和传导
C.
维持心脏最有效的排血量
D.
加强利尿
E.
改善内脏瘀血情况
【单选题】These are ____ books. Li Lin bought some at the Sun Bookstore and Jill bought some at the Blue Sky Bookstore.
A.
Li Lin's and Jill
B.
Li LIn and Jill's
C.
Li Lin and Jill
D.
Li Lin's and Jill's
【单选题】These are ________ books. Li Lin bought some at the Sun Bookstore and Jill bought some at the Blue Sky Bookstore
A.
Li Lin's and Jill
B.
Li Lin and Jill's
C.
Li Lin and Jill
D.
Li Lin's and Jill's
【判断题】修辞和修辞手法没有区别。 根据正式程度,英语词汇可分为正式、非正式两类。
A.
正确
B.
错误
【单选题】These are ________ books. Li Lin bought some at the Sun Bookstore and Jill bought some at the Blue Sky Bookstore.
A.
Li Lin and Jill
B.
Li Lin and Jill's
C.
Li Lin's and Jill
D.
Li Lin's and Jill's
【简答题】在棉花生产上 . 育苗 移栽棉花培育 壮苗 的关键 是 , 中 心 是 .
【简答题】Lin bought two of from the supermarket last Saturday.A. kilogram; chicken B. kilogram; chickens C. kilograms;chicken D. kilograms; chickens
【单选题】按榫头的形状不同,可将榫分为4种,以下哪种不属于该分类()。
A.
直角榫
B.
燕尾榫
C.
椭圆榫
D.
插入榫
【简答题】连词成句。 1. do, does, your, what, father (?) ____________________________________________________ 2. TV, a, she ,reporter, is (.) ____________________________________________________ 3. go, to, work, doe...
【单选题】Lin bought two of from the supermarket last Saturday.
A.
kilogram; chicken
B.
kilogram; chickens
C.
kilograms; chicken
D.
kilograms; chickens
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题