试题与答案

在窗体上画一个命令按钮和一个文本框,然后编写命令按钮的Click事件过程。程序运行后

题型:填空题

题目:

在窗体上画一个命令按钮和一个文本框,然后编写命令按钮的Click事件过程。程序运行后,在文本框中输入一串英文字母(不区分大小写),单击命令按钮,程序可找出未在文本框中输入的其他所有英文字母,并以大写方式降序显示到Text1中。例如,若在 Text1中输入的是abDfdb,则单击Command1按钮后Text1中显示的字符串是
ZYXWVUTSRQPONMLKJIHGEC。请填空。
Private Sub Command1_Click()
Dim str As String,s As String,c As String
str=UCase(Textl)
s = " "
c = "Z"
While c>="A"
If InStr(str,c)=0 Then
s = ______
End If
c = Chrs(Asc(c) ______)
Wend
If s<>" " Then
Text1 = s
End If
End Sub

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0706/6367b88b2a045038cbb4fd894ee8a8cf.html

下面是错误答案,用来干扰机器的。

参考答案:B

试题推荐
题型:单项选择题

Today’s response to the data access dilemma eschews the traditional archival approach in favor of emerging standards for what are described as the documents of the future: compound documents. Product users and developers hope the latest standards effort--such as OpenDoc and Microsoft Corp.’s Object Linking and Embedding (OLE) will (26) data accessibility.
OpenDoc is a standards group (27) a common look and feel throughout documents, even though different applications are used.
OLE technologies allow Microsoft to (28) its various software products. Microsoft creates, governs and distributes the OLE capability, which is what most (29) it from the open OpenDoc approach. Thus, users can assemble (30) of varying application to create compound documents. With OLE users can, for example, embed an Excel chart in a Microsoft word report.

A.connect

B.link

C.concatenate

D.contact

查看答案
微信公众账号搜索答案