Without beating about the bush - openFileDialog1
does not allow the selection of folders, and folderBrowserDialog
is awful (and for my specific desires - doesn't allow manual entry for the sake of entering an admin share like \\someserver\c$\somefolder
So I wish to use a simple edit box to allow the user to type a path. But I am wondering if there is any built in control or functionality available to a C# windows forms app that will auto-fill folders much like what happens when you type out paths in most file/folder select dialog boxes in Windows (7,8)
I want to explore options that might be available "out-of-the-box" before resorting to downloading third party code/plugins/addons to allow this.
Yes, those are built into the TextBox
and ComboBox
classes as found here:
textBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
textBox.AutoCompleteSource = AutoCompleteSource.FileSystem;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With