Use the OpenFolderDialog component

Open a folder dialog so you can open a folder from there with the OpenFolderDialog component. After opening the folder dialog, you can create a folder.

Before you begin

Role required: none

About this task

There are properties that you configure for the OpenFolderDialog component. For more information, see Dialog component properties.

Procedure

  1. In the Toolbox pane, navigate to Utilities>Dialogs.
  2. Drag the OpenFolderDialog component onto the Design surface.
  3. To open the folder dialog, right-click the OpenFolderDialog component bar.
  4. In the Browse For Folder dialog, select the required folder and click Open.
  5. To configure the outputs from the data ports, see Configure output port properties.
    The Result (Boolean) and Path (String) returns the Boolean response to whether you had opened a folder and the folder name and path respectively.
  6. Connect the data and control ports of OpenFolderDialog to the corresponding ports of other components.
  7. (Optional) To test the component, click Run under the DESIGN tab.