Decided to create my first VB tutorial on this forum, as a basic program to hide a folder inside the recycle bin.
First, we want to hide the actual recycle bin. To do this, open "Show or hide common icons on the desktop", and uncheck "Recycle Bin". (Click to View)
Next, you want to create a new VB project. Name it whatever you like (Click to View)
Personally I want the program to always be open in system tray, so that's what I'm going to demonstrate. You can have the program just open and have a button, the back-end code is the same (Click to View)
Now the the UI is setup, we need to do the locking/unlocking. (Click to View)
And there you have it.
You can customize this code for different folder names, password etc.
One the folder has been locked/unlocked you may need to F5 the desktop.
The folder actually works as recycle bin once hidden, but the right click menu is different.
Thanks, Josh
First, we want to hide the actual recycle bin. To do this, open "Show or hide common icons on the desktop", and uncheck "Recycle Bin". (Click to View)
Next, you want to create a new VB project. Name it whatever you like (Click to View)
Personally I want the program to always be open in system tray, so that's what I'm going to demonstrate. You can have the program just open and have a button, the back-end code is the same (Click to View)
Now the the UI is setup, we need to do the locking/unlocking. (Click to View)
And there you have it.
You can customize this code for different folder names, password etc.
One the folder has been locked/unlocked you may need to F5 the desktop.
The folder actually works as recycle bin once hidden, but the right click menu is different.
Thanks, Josh


![[Image: yfKVpfP.png]](https://i.imgur.com/yfKVpfP.png)
![[Image: mxnZGi5.png]](https://i.imgur.com/mxnZGi5.png)
![[Image: eXrYDkM.png]](https://i.imgur.com/eXrYDkM.png)
![[Image: dl31aaG.png]](https://i.imgur.com/dl31aaG.png)
![[Image: 6I6Chzl.png]](https://i.imgur.com/6I6Chzl.png)
![[Image: rjWbJhF.png]](https://i.imgur.com/rjWbJhF.png)
![[Image: bt659sn.png]](https://i.imgur.com/bt659sn.png)
![[Image: U6NLNPb.png]](https://i.imgur.com/U6NLNPb.png)