单选题 VB
题号 #2539251

在用通用对话框控件建立"保存"文件对话框时,如果需要指定文件列表框所列出的文件类型是文本文件(即.txt 文件),则正确的描述格式是(  )。

进入在线模考

参考答案

A

答案解析

本题考查通用对话框为打开文件时的属性设置。如果需要指定文件列表框所列出的文件类型是文本文件,正确的描述如选项A 所示。

你可能感兴趣的试题

A.Private Sub Co mmand1_Click()
Di nt BAs Books
Open "c :\Person .txt"For Output As #1
B .Name =InputBox("输入姓名")
B .TelNum=InputBox("输入电话号码")
Write #1,B.Name ,B.TelNum
Close #1
End Sub
B.Private Sub Co mmand1_Click()
Di m BAs Books
Open "c :\Person .txt"For Input As #1
B .Name =InputBox("输入姓名")
B .TelNum=InputBox("输入电话号码")
Print #1,B.Name ,B.TelNum
Close #1
End Sub
C.Private Sub Co mmand1_Click()
Di m BAs Books
Open "c :\Person .txt"For Output As #1
Name =InputBox("输入姓名")
TelNo m=InputBox("输入电话号码")
Write #1,B
Close #1
End Sub
D.Private Sub Co mmand1_Click()
Di m BAs Book
Open "c :\Person .txt"For Input As #1
Name =InputBox("输入姓名")
TelNum-InputBox("输入电话号码")
Print #1,B.Name .B.TelNum
Close #1
End Sub
找试题 · 找答案 · 找资料 在线模考