首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
在工程中的标准模块中定义了如下数据类型: Type fruit orange As Integer apple As Integer End Type 在窗体上有—命令按钮Command1,要求当单击命令按钮时
在工程中的标准模块中定义了如下数据类型: Type fruit orange As Integer apple As Integer End Type 在窗体上有—命令按钮Command1,要求当单击命令按钮时
admin
2010-03-30
37
问题
在工程中的标准模块中定义了如下数据类型: Type fruit orange As Integer apple As Integer End Type 在窗体上有—命令按钮Command1,要求当单击命令按钮时在C:\根目录下的顺序文件myfrtac.txt 中写入一条记录,下列能够完成改操作的事件过程是______ 。
选项
A、Private Sub Command1_Click() Dim myfrt As fruit myfrt. orange = 5 myfrt. apple = 10 Open “c:\myfrta. txt” For Output As #1 Print #1, myfrt. orange; myfrt. apple Close #1 End Sub
B、Private Sub Command1_Click() Dim myfrt As fruit myfrt. orange= 5 myfrt. apple= 10 Open “c:\myfrtac. txt”For Input As #1 Print #1, myfrt, orange; myfrt. apple Close #1 End Sub
C、Private Sub Command1_Click() Dim myfrt As fruit myfrt. orange= 5 myfrt. apple = 10 Open “c:\myfrtac. txt” For As #1 Print #1, myfrt. orange; myfrt. apple Close #1 End Sub
D、Private Sub Command1_Click() Dim myfrt As fruit myfrt. orange = 5 myfrt. apple= 10 Open “c:\myfrtac..txt” For Output As #1 Print myfrt. orange; myfrt. apple Close #1 End Sub
答案
1
解析
转载请注明原文地址:https://kaotiyun.com/show/lO1p777K
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
3下列程序中,若从键盘中输入的是大写字母C,则程序输出的结果是()。importjava.io.*;publicclassExam{publicstaticvoidmain(Stringargs[]){intch=0;
在设计程序时,应采纳的原则之一是()。
提供showDocument()方法,使Applet能够请求浏览器访问特定URL的类是()。
数据模型是用来描述数据库的结构和语义的,数据模型有概念数据模型和结构数据模型两类。E-R模型是【】。
下列有关数据库的描述,正确的是()。
数据的存储结构是指()。
在数据库的三级模式体系结构中,外模式与概念模式之间的映像,实现了数据库的【】独立性。
对长度为n的线性表进行顺序查找,在最坏情况下所需要的比较次数为()。
有如下程序publicclassSun{publicstaticvoidmain(Stringargs[]){intx=1,a=0,b=0;switch(x)
检查软件产品是否符合需求定义的过程称为()。
随机试题
在先秦时期的区域文化中,源于南楚的包括()
关于腺癌,下列哪项不正确
若在一个正弦(或非正弦)信号周期内取若干个点的值,取点的多少以能恢复原信号为依据,再将每个点的值用若干位二进制数码表示,这就是用数字量表示模拟量的方法。将模拟量转换为数字信号的介质为模/数转换器(ADC)。数字影像则是将模拟影像分解成有限个小区域,每个小区
位于山区基岩地下水单元补给区的I类一级评价项目,地下水环境现状调查范围应是()。
王某和张某是两个刚刚从事会计工作的年轻人,对相关财经法规不够熟悉.20X8年10月10日,王某向张某签发了一张16000元的转账支票以及一张1200元的现金支票,王某在签发支票时使用普通的蓝色水笔填写,并且没有签章。张某将16000元的转账支票交给银
两家以上商业银行受控于同一集团但又不以股权公司的形式出现的制度是()。
“行政”通常指执行国家意志、推行政务、管理社会公共事务的活动。在我国,这一活动的主体主要是()。
土家族的主要禁忌有()。
如图1所示,是甲、乙、丙三个物体的v-t图像,则下列说法正确的是()。
在ENIAC的研制过程中,由美籍匈牙利数学家总结并提出了非常重要的改进意见,他是
最新回复
(
0
)