Lock/Hide folder
-
Hi guys, I'm currently working on how to lock or at least hide a certain folder, below are the codes that i'm tryin to use... renameFileName = (InputBox("Folder Name:", "Unlock", "Cycle #")) System.IO.Directory.Move(path & "\.{20D04FE0-3AEA-1069-A2D8-08002B30309D}", path & "\" & renameFileName) thing is, its working on my local folders, but when i used it to a folder on a mapped drive its just renaming it, and i still can access the folder... if you guys got another approach on how to do this... tnx in advance.
-::maximus::-
-
Hi guys, I'm currently working on how to lock or at least hide a certain folder, below are the codes that i'm tryin to use... renameFileName = (InputBox("Folder Name:", "Unlock", "Cycle #")) System.IO.Directory.Move(path & "\.{20D04FE0-3AEA-1069-A2D8-08002B30309D}", path & "\" & renameFileName) thing is, its working on my local folders, but when i used it to a folder on a mapped drive its just renaming it, and i still can access the folder... if you guys got another approach on how to do this... tnx in advance.
-::maximus::-
That won't work on network drives. The only way to hide folders on a network is using Access Control Lists and assign the appropriate permissions to users/groups. Exactly how this is done depends on your network O/S.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
Hi guys, I'm currently working on how to lock or at least hide a certain folder, below are the codes that i'm tryin to use... renameFileName = (InputBox("Folder Name:", "Unlock", "Cycle #")) System.IO.Directory.Move(path & "\.{20D04FE0-3AEA-1069-A2D8-08002B30309D}", path & "\" & renameFileName) thing is, its working on my local folders, but when i used it to a folder on a mapped drive its just renaming it, and i still can access the folder... if you guys got another approach on how to do this... tnx in advance.
-::maximus::-
-
Uhh, you do realize that link is for the Team Foundation Server Source Control, right? :confused:
Dave Kreskowiak Microsoft MVP - Visual Basic