How can I use the Browse for Folder dialog from a WPF app on Windows Server Core?

蹲街弑〆低调 提交于 2019-12-06 07:54:39

There have been questions about why this is necessary. I agree with the sentiment. I did not give away a lot of details about the what and the why, and this is probably leading to some confusion.

The programming answer to this question was that the flags in the BROWSEINFO structure used in SHBrowseForFolder included NEWDIALOGSTYLE. Removing that flag displays the browse dialog properly for me.

You cannot use what isn't there. Ask the administrator to reconfigure the machine.

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