Questions tagged [folderbrowserdialog]

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

Prompts the user to select a folder.

Docs

280 questions
-1
votes
1 answer

folderbrowserdialog selectedpath returns no value

private void button3_Click(object sender, EventArgs e) { FolderBrowserDialog folderfinder = new FolderBrowserDialog(); folderfinder.Description = "Select Folder"; folderfinder.RootFolder = Environment.SpecialFolder.MyComputer; …
-1
votes
1 answer

No focus on other form after FolderBrowserDialog.ShowDialog()

I am trying to make a folder selection which would show an error if there isn't enough space on the selected drive. I have created a custom designed error and dialog form, but there is a problem with using the FolderBrowserDialog. Here is my actual…
TMS
  • 43
  • 1
  • 12
-1
votes
1 answer

FolderBrowserDialog open again on cancel

When i open the FolderBrowserDialog then click cancel it reopens again. But, On the second FolderBrowserDialog when you click cancel again it properly closes. And when you select a path on the second FolderBrowserDialog, It does or returns…
Mark Dave
  • 23
  • 4
-2
votes
1 answer

Get path string without user having to select a file

I want to use the equivalence of open file dialog box in windows forms (FolderBrowserDialog) in asp. I see the FileUpload class but the user is still forced to select a file. I only want the directory portion. The resulting string that contains…
-2
votes
1 answer

Get path of a network drive folders

I am trying access files within a folder of a network drive using c# FolderBrowserDialog, all it shows me are the local drives and the network drives on my computer. Is there a way of getting access to folders of a network drive? I am using a UNC…
GBh
  • 343
  • 1
  • 4
  • 15
-3
votes
1 answer

Greetings. I am a beginner at c# and have run into a Special folder and string conversion issue

I am attempting to compare a variable "windir" to the root folder from a browser dialog. At the moment the error I am getting is "Cannot implicitly convert type System.Environment.SpecialFolder to string". Anything I try makes it worse. Below is my…
-3
votes
1 answer

Comparing 2 directories using C++ in Visual Studio Express

Good day, I have a reference directory and a directory. I'd like to compare the directory basing upon my reference directory. Comparing the two folder by their contents. How will I be able to code this? Please help. Your help will be greatly…
-3
votes
1 answer

How can I use the folder browser that is used by VS2012

Possible Duplicate: How do you configure an OpenFileDialog to select folders? My app uses the FolderBrowserDialog in Windows.Forms. I would prefer to use the folder browser used by VS2012 when you are deciding where to put a new project. Can…
spainchaud
  • 365
  • 3
  • 12
-4
votes
1 answer

How to work with FolderBrowserDialog in Visual Basic 2015

I have searched all over Internet and MSDN but can't find the code to open just the FolderBrowserDialog not to be confused with Fial Dialog. I am unable to open the FolderBrowserDialog and get its value and work with it. Many thanks in advance for…
-4
votes
1 answer

Excluded several extension c#

How can I exclude all .txt file and doc file in a folder? I am able to get all the file but unable to exclude .txt file and .doc files. foreach (string f in Directory.GetFiles(@readpath)) { List list = new…
1 2 3
18
19