PdcApplication.OpenECIFolderDialog: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == OpenECIFolderDialog(InitialDir As String) as String == Description == Open a file browser dialog via Bemet to select a folder. This will return the full pat..."
 
No edit summary
Line 18: Line 18:


== Availability ==
== Availability ==
Available since april 2023. Bemet 2023R2 and higher.
Available since september 2023. Bemet 2023R4 and higher.

Revision as of 11:16, 25 September 2023

Declaration

OpenECIFolderDialog(InitialDir 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

InitialDir : The initial directory shown in the dialog

Notes

This method is available both in the EciCloud and in the on-prem version of Bemet. But in the on-prem version it will use the regular windows dialog, and in the Eci Cloud it will use our secure custom dialog.

Code example

Dim Result As String = PDC.App.OpenECIFolderDialog("C:\Users\Admin\Documents\")

Availability

Available since september 2023. Bemet 2023R4 and higher.