From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Browse folder using File Dialog

Hi everyone,

 

This shouldn't be new, but I couldn't find exactly what I want. I'd like to browse folders (not files!!) on LabVIEW. I've managed to browse files using File Dialog.vi, but is it possible to do the same thing for folders? 

I've come across ways using Library Function Node, but couldn't really understand how it works.

 

Does anyone have any experience with this?

 

Thanks a lot!

0 Kudos
Message 1 of 4
(2,795 Views)

In the same File Dialog window you have the option to configure only the folders and browse.

 

BrowseFolder.png

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 4
(2,786 Views)

Hi P@Anand,

 

Thanks for your fast reply. I already know that feature, but I actually then have to be in the folder, then click "Current Folder".

FileDialogBrowseFolder.PNG

 

What I want, is only to click/select the folder and click OK. Something like this:

 FileDialogBrowseFolder2.PNG

 

0 Kudos
Message 3 of 4
(2,776 Views)

I have a VI for you. this is the .net shell.browseforfolder method.

Message 4 of 4
(2,770 Views)