I'm using FolderBrowserDialog in a WPF project and it works fine, I would like to check the content of the folder selected selectedPath if is it empty or null and the extension of the existed files.
How can I do that?
try
{
using (var dialog =…
I use a CommonOpenFileDialog as a FolderBrowserDialog. For this, I had downloaded the WindowsAPICodePack-Shell.1.1.1 via NuGet. I noticed that when loading the dialog, my memory usage increases from 18MB to 55 MB, and after exiting (whether…
PowerScript Noob here.
I've found a snippet of code that lets the user select a folder thru a Folder Browser Dialog, instead of having enter the path to the folder manually.
Works as expected, except the Folder Browser Dialog often opens behind…
I'm trying to save image files which are converted from PDF to PNG. I want my application to save the converted image if the PDF was a single page document using the "SaveFileDialog", and if the PDF file was a multi-page document, I then want my…
I am using the FolderBrowseDialog in my Vb,Net Windows Form to ask the user to locate where a specific file is on their computer but I only want to allow local drives and not Network Drives.
Does anyone know of a way to prevent Network Drives from…
The code that I currently have (given below), I prompt the user for the folder path then return the first 10 files from one folder. I then put the file names into a text file.
I want to be able to list only 10 random "wav" files from each of the…
I programmed a small GUI with Tkinter where I ask the user for a directory to save certain images, via filedialog.askdirectory. With that information, I am able to create a folder in that directory using os.mkdir(), but I need to predefine its name…
I am creating an WPF following MVVM. In this I have a button that I would like to Open a FolderBrowserDialog so a user can select a folder path. I know opening dialog is something widely discussed in terms of MVVM because .ShowDialog from the view…
I am using FolderBrowserDialog in my application.Through it's constructor I can set RootPath, SelectedPath. It should always open with D:\Export\ directory as default path. If the user selects any other path, the newly selected directory should be…
I have currently created code which grabs a ceratin file extension and puts it into a certain folder.
My.Computer.FileSystem.CreateDirectory(
"C:\Users\bj\Desktop\Excel Files")
Dim filePaths31 =…
So here is the folder I wish to select:
Selected Folder using FBD
Within that BackPath folder are 7 other dated folders as shown:
Dated Folders within selected folder
Within each of those dated folder are two more folders, named "In" and "Out".
What…
I'm trying to save user defined path in app.config, and set the same as default path to a FolderBrowser next time the app is run.
Seems I'm saving the path, but couldn't set it as Default, next time. Please help me pointing towards where I'm missing…
I am trying to code a program which is executed when a file is right clicked in windows, and then a context menu feature named 'Move to' executes a file in the windows registry HKEY ClASSES. It ought to parse in "%1" as argument when it executes, so…
How can I show folder directory of the server file path (base on SQL server installation computer's folder path) on the client computer when I open FolderBrowserDialog.
I have the SQL server backup function and this function needs a directory for…
I have working code to load 7 different XML files and import the relevant data into data tables displaying using data grid views. This uses an individual open file dialog per file, I would now like to create an automated button which will load the…