Private Sub Drive1_Change()
?????????????????????????
End Sub
打开磁盘,中间该写什么代码?
详细点。一看就明白的
一般DriveListBox磁盘控件都结合DirListBox以及FileListBox控件一起使用,(结果如图):
你的代码如下:
Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive '你需要的是这行代码
End Sub
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub