because I want to make it easier to find the data at the spesific location and browse the data inside the data folder only.
If I remove it, I unable to see the file inside the C:\Project\Data\K for example.
At the moment, I am able to see the file in the C:\Project\Data only.Code:Private Sub Dir1_Change() File1.Path = Dir1.Path End Sub
If I don't remove the code below, I can able to browse the file inside C:\Project\Data but also able to see the data file outside the folder structure.
I don't want them browse outside of this folder structureCode:Private Sub Dir1_Change() File1.Path = Dir1.Path End Sub
here all the code
Code:Private Sub Form_Load() Dir1.Path = "C:\Project\Data" File1.Path = Dir1.Path End Sub




Reply With Quote