Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   .NET Installation / Documentation (http://www.xtremevbtalk.com/-net-installation-documentation/)
-   -   Need to see hidden folders from the FolderBrowserDialog (http://www.xtremevbtalk.com/-net-installation-documentation/315207-hidden-folders-folderbrowserdialog.html)

shazbot9 04-16-2010 12:57 PM

Need to see hidden folders from the FolderBrowserDialog
I need to see hidden folders from the FolderBrowserDialog. The user has the authority to view hidden files and folders.

Is there a property I can set within the FolderBrowserDialog?

webbone 04-16-2010 01:22 PM

Based on the MSDN information for this class there doesn't seem to be a way to enable that capability. As I recall the SHBrowseForFolder API Function has the same limitation.

Roger_Wgnr 04-17-2010 12:06 AM

The FolderBrowserDialog display is based on the settings in explorer. You can get it to display the Hidden folders by setting the Folder Options/View/Show Hidden Files and Folders.

If you want to enable it via your program you can set the following Registry Key

Set the Dword value to the following:
1 = show hidden files and folders
2 = Hide hidden files and folders

I would recommend that if you set the registry via code you get the current setting first and restore it before your program closes.

dimucchu 05-28-2013 05:35 AM

If you add an app.manifest to your project and make the program run as Administrator you will see hidden files. (Administrator rights make them visible).:)

My program needs Administrator rights but its not allowed to see hidden files. how i solve this problem?:confused:

All times are GMT -6. The time now is 10:55 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.