PdcApplication.OpenFolderDialog

From External Bemet Wiki
Revision as of 12:19, 10 March 2023 by TC (talk | contribs) (Created page with "== Declaration == OpenFolderDialog(InitialDirectory As String) as String == Description == Open a file browser dialog via Bemet to select a folder. This will return the full...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

OpenFolderDialog(InitialDirectory As String) as String

Description

Open a file browser dialog via Bemet to select a folder. This will return the full path of the selected folder as a String. If this form is canceled without selecting a file, an empty string will be returned.

Parameters

InitialDirectory : the initial directory where the file browser is opened. If this is empty, or the directory cannot be found, it will open at the root level.

Notes

This method is only available in the EciCloud!!
When used in an on-prem version of Bemet, it will return an empty string, and write an error to LastErrorString.

Code example

Dim Result As String = PDC.App.OpenFolderDialog(tbInitialDirectory.Text)

Availability

Available since march 2023. Bemet 2023R2 and higher.