Questions tagged [folderbrowserdialog]

FolderBrowserDialog is a class in the System.Windows.Forms.CommonDialog namespace

Prompts the user to select a folder.

Docs

280 questions
2
votes
2 answers

FolderBrowserDialog on company network to select subfolder

In my WPF app the user needs to select a folder, which path is in the company network. I use the System.Windows.Forms.FolderBrowserDialog and the following code gets executed on a button click event: FolderBrowserDialog fbd = new…
Frank
  • 1,113
  • 3
  • 14
  • 27
2
votes
2 answers

Where should an application's default folder live?

I'm creating a little app that configures a connected device and then saves the config information in a file. The filename cannot be chosen by the user, but its location can be chosen. Where is the best place for the app's default save-to folder? I…
HotOil
  • 159
  • 1
  • 9
2
votes
4 answers

c# select Folders or Files in the same method

Okay, so please don't flame me too much, this is my 1st question here, and maybe what I am trying to do is not even possible. Obviously I am not an expert; that's why I am coming to you. :) I have searched all over here, MSDN, and the rest of the…
Pezius
  • 117
  • 3
  • 12
2
votes
2 answers

Folder browser asp.net website

Is there any way I can get a file explorer to open up and allow the user to choose a folder destination in a website ? I want to then save this location and this will be the location for uploads.
Chris
  • 175
  • 1
  • 3
  • 17
2
votes
3 answers

Vb.net - FolderBrowserDialog

I am having some troubles with FolderBrowserDialog I've tried all the post I could find here and I'm almost there in terms of what I want. following is my code: Private Sub ButtonBrowseOutput_Click(sender As Object, e As EventArgs) Handles…
user3857665
2
votes
3 answers

FolderBrowserDialog nested folders

I have a folder. The folder has multiple folders in it, each folder has an image in it. Like this: Main Folder>Subfolder 1>Picture 1 Main Folder>Subfolder 2>Picture 2 etc. I'm looking to select the main folder using FolderBrowserDialog, and…
user3156865
2
votes
1 answer

Is it possible to override the default folder browser dialog in Windows?

For a while now I've disliked the default folder browser dialog in Windows: Granted, at least it has the text box with autocomplete; but if you go strictly with the tree view, it can take a lot of clicks and scrolling to get where you want! It'd be…
Dan Tao
  • 125,917
  • 54
  • 300
  • 447
2
votes
1 answer

How to construct path for mtp devices (usable in folder browse dialog)?

I implemented file transfer from windows pc to an android device, which is connected with MTP to the computer. The copy implementation is ready (I used this example:…
kadrian
  • 23
  • 1
  • 4
2
votes
2 answers

How do I save the last folder selected by the user?

I have this and this only saves the last folder used when the user closes the application and re-opens it. private void btnBrowse_Click(object sender, EventArgs e) { Properties.Settings.Default.Reload(); fbFolderBrowser.SelectedPath =…
JJ.
  • 9,580
  • 37
  • 116
  • 189
2
votes
2 answers

FolderBrowserDialog not showing up on second form

Ok, this is the main essence of what I am trying to achieve and the symptoms of what it is doing. I have a main windows form. On this form the user can click on a button that will open up a new and seperate form. This form will have a button that is…
Brandon Stout
  • 359
  • 10
  • 22
2
votes
1 answer

SHBrowseForFolder text edit

I have some questions regarding SHBrowseForFolder(). I am using it with BIF_USENEWUI, BIF_RETURNONLYFSDIRS and BIF_VALIDATE. I am mainly having problems with the edit box. I'd like it to function a bit differently. Let us assume, I am at a valid…
JHowzer
  • 3,684
  • 4
  • 30
  • 36
1
vote
1 answer

FolderBrowseDialog STAThread error in background worker

Good day, I'm getting an error very similar to the one discussed here (among other sources here and elsewhere): STAThread missing, but it is there The difference is that in my case I am using multi-threading. A BackgroundWorker is generating…
that0th3rGuy
  • 1,356
  • 1
  • 15
  • 19
1
vote
0 answers

FolderBrowserDialog position on screen. VB.Net

Is it possible, without an insane amount of work, to customize to location of the FolderBrowserDialog when it appears? I was hoping for the ability to position it at the left upper corner of the main form of my application. Hoping for something…
Goat
  • 79
  • 1
  • 1
  • 12
1
vote
1 answer

FolderNameEditor.FolderBrowser with FolderBrowserStyles.ShowTextBox - Automatically create new folder from TextBox.Text

I'm showing a FolderBrowser to the user in my application and then promotes him with a ShowDialog() which has m_dialog.Style = FolderBrowserStyles.ShowTextBox; Thus, allowing the user to manually enter path for the folder he wants to choose. The…
galbarm
  • 2,441
  • 3
  • 32
  • 52
1
vote
0 answers

How to select music folder on iOS in flutter

I'm developing a flutter app and I need to reproduce some music from the device allowing the user to choose the folder where the music files are stored. I tried to use the package file_picker (https://pub.dev/packages/file_picker) that should open…
MarcoF
  • 147
  • 9