Is there an \"easy\" way to select either a file OR a folder from the same dialog?
In many apps I create I allow for both files or folders as input. Until now i alwa
http://www.pinvoke.net/default.aspx/shell32.shbrowseforfolder
here is gerat link if you change in this sample
bi.ulFlags = BIF_NEWDIALOGSTYLE | BIF_SHAREABLE;
for
bi.ulFlags = BIF_NEWDIALOGSTYLE | BIF_SHAREABLE | BIF_BROWSEINCLUDEFILES;
you will get what you want