Hack Forums
[.NET] [VB.NET] Disable "Show Hidden Files And Folders Option" - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] [VB.NET] Disable "Show Hidden Files And Folders Option" (/showthread.php?tid=396617)



[VB.NET] Disable "Show Hidden Files And Folders Option" - codepoet - May 1, 2010

Code
Sub Hide()
Dim regloc as String = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced"
My.Computer.Registry.SetValue(regloc, "Hidden", "0", Microsoft.Win32.RegistryValueKind.DWord)
End Sub

orignaly written by:Saint

If You Like this tutorial,
please check out my other tutorials by clicking ==> here



* - Welfare - May 1, 2010

Pretty good also good for other registry file modifications. Although I'm pretty sure you need to run as admin for it to modify any registry file correct me if I'm wrong.


* - codepoet - May 1, 2010

thats true...

hahaha...your first post


* - okko1111 - Jul 5, 2010

yes that is true(too short)


the again thinking of it there are ways around this problem


* - TehShrink - Jul 5, 2010

(Jul 5, 2010 01:10 PM)okko1111 Wrote:  yes that is true(too short)


the again thinking of it there are ways around this problem

Two months old thread, for fuck sakes.


* - Fallenbot - Jul 5, 2010

Quote:Two months old thread, for fuck sakes.


yes lol wtf
who bumped this thread??? :P


* - TehShrink - Jul 5, 2010

(Jul 5, 2010 01:27 PM)SlimDeath Wrote:  yes lol wtf
who bumped this thread??? :P

okko obviously? You can see the posters names and dates, you know? :P