单选题 VB
题号 #2539253

要获得当前驱动器应使用驱动器列表框的属性是(  )。

进入在线模考

参考答案

B

答案解析

驱动器列表框(DriveListBox)用来显示当前机器上的所有盘符。其Drive 属性用于指定包含当前选定的驱动器名。驱动器列表框的Change 事件是在选择一个新的驱动器或通过代码改变Drive 属性的设置时发生。

你可能感兴趣的试题

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
A.Picture1.Picture ="Flie1.jpg
B.Picture1.Picture =LoadPicture("File1.jpg")
C.LoadPicture("File1.jpg")
D.Call LoadPicture("File1.jpg")
找试题 · 找答案 · 找资料 在线模考