首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下是与Visual Basic开发应用有关的5个问题。对每一个问题,请将解答填入对应栏内。 在Visual Basic中,标准模块文件、窗体文件和工程文件的扩展名是什么?请从下列选项中选择: prg、prj、exe、vbp、form、frm、
以下是与Visual Basic开发应用有关的5个问题。对每一个问题,请将解答填入对应栏内。 在Visual Basic中,标准模块文件、窗体文件和工程文件的扩展名是什么?请从下列选项中选择: prg、prj、exe、vbp、form、frm、
admin
2009-05-15
57
问题
以下是与Visual Basic开发应用有关的5个问题。对每一个问题,请将解答填入对应栏内。
在Visual Basic中,标准模块文件、窗体文件和工程文件的扩展名是什么?请从下列选项中选择:
prg、prj、exe、vbp、form、frm、win、fra、std、bas、vbs、vbm
2.设某窗体上有一个命令按钮,其名称为Command Save,运行时该按钮上显示有“保存(S)”字样的信息。为使热键Alt+S与该命令按钮相关联,应该对按钮Command Save的Caption属性设置什么样的属性值?
3.设某窗口内有一个图像框Image Frame,以及两个命令按钮“放大”和“缩小”。单击“放大”按钮就会使该图像框的长和宽都放大20%;单击“缩小”按钮就会使该图像框的长和宽都缩小 20%(该图像框的左上角不动)。请分别写出这两个命令按钮的单击事件过程中的程序代码。
4.为使某个单选按钮初始时默认被选中,在开发时应怎样做?
5.若有语句Temp Value = Mag Box(“操作错误!”,vbOKCancel+vbCritical,“提示”),请简要描述程序运行时弹出的消息框的主要特征。
选项
答案
(1)标准模块文件的扩展名是bas,窗体文件的扩展名是frm,工程文件的扩展名vbp。 (2)可将按钮的Caption属性设置为“保存(&S)”。 (3)解答:“放大”按钮单击事件过程中的程序代码: ImageFrame.Width=ImageFrame.Width*1.2 ImageFrame.Height = ImageFrame.Height*1.2 “缩小”按钮单击事件过程中的程序代码: ImageFrame.Width = ImageFrame.Width*0.8 ImageFrame.Height=ImageFrame.Height*0.8 (4)将该单选按钮的Value属性值设置成True。 (5)消息框的标题栏显示“提示”:消息框中有一个出错标记以及两个命令按钮,分别显示“确定”和“取消”;消息框中显示的信息为“操作错误!”。
解析
转载请注明原文地址:https://kaotiyun.com/show/m5jZ777K
本试题收录于:
程序员上午基础知识考试题库软考初级分类
0
程序员上午基础知识考试
软考初级
相关试题推荐
阅读以下说明,回答问题1至问题5,将解答填入答题纸对应的解答栏内。【说明】某公司使用ASP开发商务网站,网页制作过程使用了CSS技术,该网站具有商品介绍、会员管理、在线支付和物流管理等功能,采用SQLServer数据库,数据库名称为business,
(66)is a one-way function that takes an arbitrarily long piece of plaintext and from it computes a fixed,length bit string.(67)i
A local area network(LAN)is the communication of a number of computers by(66)connecting to each one in a single location, usuall
Without systems software, application software in a computer is(73)
The(74)has several major components, including the system kernel, a memory management system, the file system manager, device dr
Web browser is simply a terminal emulator, designed to display text on a screen. The two essential differences between an ordina
Because Web servers are platform and application(71)they can send or request data from legacy or external applications including
A user interface can be defined as the combination of hardware and software that helps people and computers(70)with each other.
By using MP3, a 600M-byte music CD can be(70)to 50M bytes or less. It can be streamed(downloaded in chunks)so that you can begin
ByusingMP3,a600M-bytemusicCDcanbe(1)to50Mbytesorless.Itcanbestreamed(downloadedinchunks)sothatyoucanbe
随机试题
对于抗阻训练中的保护理解正确的是()。
简述分销渠道的特征。
Australia’spopulationpassed18millionforthefirsttimeinMarchthisyear.ButasAustraliagrows,environmentgroupsy
食管痛的典型症状是()
体位性低血压是哪种药常见的不良反应
公司各部门一般应根据自己的实际情况在会前()
现在社会出现一种现象,大城市人才过多.学生大多喜欢报考大城市的警察职务,却很少有人愿意报考中小城市特别是偏远山区的职位。你怎么看待这个问题?
-16
"Beforetheoperation,IwouldlookatsomeoneandallIcouldseefortheirfacewasjelly,"saysJonathanWyatt"Now,Icanse
A、Theyhavedrawnnoattentionofresearchers.B、Theywillgetalongwellwithothers.C、Theymaytendtoadjusttothesociety
最新回复
(
0
)