FileSelectionDlg.DialogAction
Property: DialogAction as SPYDialogAction
Description
If you want your script to perform the file selection operation without any user interaction necessary, simulate user interaction by either setting the property to spyDialogOK(0) or spyDialogCancel(1).
To allow your script to fill in the default values but let the user see and react on the dialog, use the value spyDialogUserInput(2). If you receive a FileSelectionDlg object in an event handler, spyDialogUserInput(2) is not supported and will be interpreted as spyDialogOK(0).
Errors
2400 | The object is no longer valid. |
2401 | Invalid value for dialog action or invalid address for the return parameter was specified. |