Groups | Blog | Home
all groups > dotnet windows forms > august 2005 >

dotnet windows forms : how to set Openfiledialog to take directory



ve
8/13/2005 8:51:14 AM
Hi,

I want to select the directories instead of files using the Open or Save
file dialog boxes. Is it possible to simulate this?

thanks
Herfried K. Wagner [MVP]
8/13/2005 9:46:18 PM
"ve" <ve@discussions.microsoft.com> schrieb:
[quoted text, click to view]

Displaying the dialog for choosing a directory
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=folderbrowserdialog&lang=en>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
Helge Jensen
8/15/2005 9:37:27 AM


[quoted text, click to view]

Actually, I'm interested in this too.

[quoted text, click to view]

I need to provide a selection dialog that allows *both* files and
directories to be selected. Any suggestions?

Basically it should be "A FileDialog which does not descend directories
when [Open] is clicked".

--
Helge Jensen
mailto:helge.jensen@slog.dk
sip:helge.jensen@slog.dk
AddThis Social Bookmark Button