Private Sub
Dir1_Change()
File1.Path = Dir1.Path '讓【目錄清單】的內容隨著【磁碟清單】的改變而改變
End Sub
Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive '讓【檔案清單】的內容隨著【目錄清單】的改變而改變
End Sub
Private Sub File1_Click()
Text1.Text = Dir1.Path & File1.FileName
'在【文字方塊】中顯示選取檔案的'磁碟、路徑、名稱
End Sub |