FolderBrowserDIalog doesn't show network drives in Win 2012

别来无恙 提交于 2019-12-11 12:15:14

问题


I have an application, that uses a folderBrowserDialog. In Windows XP it works fine, but in Win 2012 dialog doesn't show Network Drives. I've tried to find a solution, but failed. Maybe somebody has had the same issue. Any help would be appreciated)


回答1:


See this link (I know it mentions Windows 8...but 2012 shares the same kernel):

  • http://social.msdn.microsoft.com/Forums/windows/en-US/f0073f80-cedb-4b7a-96b9-20e4b22c2424/folderbrowserdialog-does-not-show-network-drives-on-windows-8

You could try setting this registry option (could be broken in Win8):

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Policies/System
    EnableLinkedConnections=1

Also see this for an explanation of why from Vista onwards with UAC turned on you may see different drive mappings:

  • https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=WINDOWS-UK;833e5b39.1302


来源:https://stackoverflow.com/questions/18251983/folderbrowserdialog-doesnt-show-network-drives-in-win-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!