PdcApplication.OpenFolderDialog: Difference between revisions
Jump to navigation
Jump to search
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..." |
No edit summary |
||
Line 1: | Line 1: | ||
== Declaration == | == Declaration == | ||
OpenFolderDialog( | OpenFolderDialog() as String | ||
== Description == | == 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. | 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. | If this form is canceled without selecting a file, an empty string will be returned. | ||
== Notes == | == Notes == | ||
Line 15: | Line 12: | ||
== Code example == | == Code example == | ||
<source lang="vb"> | <source lang="vb"> | ||
Dim Result As String = PDC.App.OpenFolderDialog( | Dim Result As String = PDC.App.OpenFolderDialog() | ||
</source> | </source> | ||
== Availability == | == Availability == | ||
Available since | Available since april 2023. Bemet 2023R2 and higher. |
Latest revision as of 14:17, 4 April 2023
Declaration
OpenFolderDialog() 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.
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()
Availability
Available since april 2023. Bemet 2023R2 and higher.