Questions tagged [folderbrowserdialog]

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

Prompts the user to select a folder.

Docs

280 questions
0
votes
2 answers

How to create custom User Control derived from CommonDialog class

I would like to extend the FolderBrowserDialog to have the option to include subfolders for selected Folder (add Checkbox to set to include or not). I found out that I can't extend the basic FolderBrowserDialog as it is a sealed class. So I thought…
Joudicek Jouda
  • 792
  • 2
  • 13
  • 30
0
votes
2 answers

folderbrowserdialog access to path is invalid

Everytime i run the program it has an error that says access to the path is denied. i already check the folder allowed all users, unchecked the read only and still it wont work private void button2_Click(object sender, EventArgs e) { try { …
0
votes
1 answer

FolderBrowserDialog in WPF application throwing app exception instead of binding exception

Hello I am using a System.Windows.Forms.FolderBrowserDialog in my WPF application to select folders in users computer. The selected folder is displayed in a TextBox and also is validated in the view model. I am trying to display invalid folder Error…
isakavis
  • 773
  • 1
  • 12
  • 29
0
votes
1 answer

how can insert Browser control in MFC windows application?

i want create one simple windows form ,it just contain Editcontrol(textbox),Static Edit(label),Button (Name of Browse)..here i cannot implement browser control(to obtain filepath) in my form...i am using the the below path to create form.. visual…
Rajakumar
  • 442
  • 1
  • 9
  • 21
0
votes
2 answers

Set FolderBrowserDialog to foreground

I'm creating an Basic MSI installshield installer. And for choosing instllation path i'm calling FolderBrowserDialog. Everything works OK except FolderBrowserDialog appers in background. I would like to set it to be a foreground window. This code…
Nejchy
  • 666
  • 11
  • 24
0
votes
1 answer

How can I send an array to a listbox?

I am just trying to migrate some of my old apps from Win-forms to WPF. In my old win-form app I can send an array to a ListBox with the code below. In my new WPF app, this will not populate the ListBox. What is weird is it does not error out, it…
bolilloBorracho
  • 211
  • 2
  • 12
0
votes
2 answers

selecting files and saving it to the defined location using folder browse dialog

I had made this code for user to select a folder so that my two files will be copied to that. The code is this: string sourcePath = @"C:\Documents and Settings\akib\"; string fileName1 = @"untitled.jpg"; string fileName2 =…
aquib Rocks
  • 113
  • 1
  • 11
0
votes
1 answer

Getting the filepaths of every file in folder X

I'm making a little file splitter-joiner, and I've already got the splitting process done. Now I need to complete the joiner. I have this method: public static void juntarArchivo(string[] Cortes, string CarpetaDestino) { string…
Sergio Tapia
  • 40,006
  • 76
  • 183
  • 254
0
votes
1 answer

FolderBrowserDialog change language

I have an application where user can choose between 2 languages. Is to possible to change the FolderBrowserDialog language(Buttons, Browse for folder). Maybe with CultureInfo? Thank you for your help.
Nejchy
  • 666
  • 11
  • 24
0
votes
1 answer

How to keep a MessageBox window in the foreground in WPF

I need to show a folder dialog box so the user can select a path before my application runs. I have everything working fine but I can't seem to be able to keep the error MessageBox on the foreground. If the user selects the wrong path a message box…
Mark S.
  • 45
  • 1
  • 5
0
votes
1 answer

How to show image icons in ViewList when user selects a folder from the FolderBrowserDialog?

So basically what I want is the user presses a browse button and a FolderBroswerDialog pops up. The user then selects a folder and the ViewList is then populated with all the images in that folder in Icon view. How can I do this? The code I…
Ben
  • 335
  • 3
  • 12
0
votes
2 answers

Is it possible to display a Folder dialog equivalent in JavaScript?

I am writing an MVC3/Razor application and one of the requirements is for files to be generated and saved on the click of a button. Generating the files and returning them to the browser as a FileResult is no problem, and for single files this is my…
BlueChippy
  • 5,935
  • 16
  • 81
  • 131
0
votes
1 answer

How do I list all files in the selected folder with FolderBrowserDialog?

I want to list all the files in a treeview with C++/CLI. The folder needs to be selected with FolderBrowserDialog.
gskartwii
  • 389
  • 2
  • 7
  • 18
0
votes
2 answers

FolderBrowserDialog takes eons to list the subfolders of a folder located in an USB drive

Using a FolderBrowserDialog in a USB Drive takes several minutes to offer subfolders (independently of how many subfolders are there). Whereas Windows Explorer does show them in a relatively quick manner. Code I'm using is: if…
Vinko Vrsalovic
  • 330,807
  • 53
  • 334
  • 373
0
votes
1 answer

C++\cli Check if file can be created here, FolderBrowseDialog

I'm using a folderBrowseDialog to give the user the ability to choose where the program is going to save some files. there is a problem that the user can choose path that the application can not manipulate, for instance "c:\" (the program is…
Kirill Kulakov
  • 10,035
  • 9
  • 50
  • 67