文件查找

sxy2011   发布于 2021年07月12日   阅读次数: 1471   

Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub

Private Sub Drive1_Change()
On Error Resume Next
Dir1.Path = Drive1.Drive
End Sub

Private Sub File1_Click()
Shell (File1.Path & "\" & File1.FileName)
End Sub

TA发布的代码