首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下列程序运行时,单击窗体,执行结果为【 】。 说明:在窗体上有一Label控件,名为lblDate。 Dim Y As Integer,m As Integer,d As Integer,w1 As Integer Dim Rq As Date D
下列程序运行时,单击窗体,执行结果为【 】。 说明:在窗体上有一Label控件,名为lblDate。 Dim Y As Integer,m As Integer,d As Integer,w1 As Integer Dim Rq As Date D
admin
2009-07-23
48
问题
下列程序运行时,单击窗体,执行结果为【 】。
说明:在窗体上有一Label控件,名为lblDate。
Dim Y As Integer,m As Integer,d As Integer,w1 As Integer
Dim Rq As Date
Dim W2 As String
Private Sub Form_Click()
Rq=Date
Y=Year(Rq): m=Month(Rq)∶d=Day(Rq)
w1=Weekday(x)
Select Case w1
Case 1
W2="日"
Case 2
W2="一"
Case 3
W2="二"
Case 4
W2="三"
Case 5
W2="四"
Case 6
W2="五"
Case 7
W2="六"
End Select
bldatE.Caption="今天是"&Y&"年"&m&"月"&d&"日"&"星期"&W2
End SUb
选项
答案
今天是****年**月*/日星期*
解析
转载请注明原文地址:https://jikaoti.com/ti/5cq0FFFM
本试题收录于:
二级VB题库NCRE全国计算机二级分类
0
二级VB
NCRE全国计算机二级
相关试题推荐
每个使用Swing构件的程序必须有一个()。
结构化程序设计所规定的3种基本控制结构是()。
自定义表格类中的model部分应实现的接口是()。
数据库保护分为:安全性控制、【】、并发性控制和数据的恢复。
在计算机中,算法是指()
在面向对象的设计中,用来请求对象执行某一处理或回答某些信息的要求称为【】。
有如下程序:publicclassSun{publicstaticvoidmain(Stringargs[]){ints=0;inti=1;whil
软件测试分4个步骤进行,即单元测试、集成测试、确认测试和【】。
算法的基本特征是可行性、确定性、【】和拥有足够的情报。
下列有关变量的描述中不正确的是()。
随机试题
下列各项,不是胃溃疡并发症的是
IftheEuropeansthoughtadrought—alongperiodofdryweather—wassomethingthathappenedonlyinAfrica,theyknowbetternow
A.酌情停药B.完全消失C.无原发病D.终生E.半年到1年用药继发的巨幼红细胞贫血患者应
下列解表药中,兼有化湿功效的是
治疗心源性哮喘可选用
甲、乙、丙、丁拟设立一家商贸公司,就设立事宜分工负责,其中丙负责租赁公司运营所需仓库。因公司尚未成立,丙为方便签订合同,遂以自己名义与戊签订仓库租赁合同。关于该租金债务及其责任,下列哪些表述是正确的?
根据《中华人民共和国会计法》的规定,下列各项中,单位出纳人员不得兼任的工作有()。
根据下表,则下列说法正确的是()。Ⅰ.来自东亚的游客数量小于来自东欧、南美洲、北美洲、东南亚的游客数量和Ⅱ.游客中除了来自东亚与其他之外的外国游客数量,小于来自国内的游客数量
以下属于客户端脚本语言的是__________________。
Extraordinarycreativityhasbeencharacterizedasrevolutionary,flyinginthefaceofwhatisestablishedandproducingnotwh
最新回复
(
0
)