ViewMngrAPI.setOpenFromDlg

 

long setOpenFromDlg(string path)

This method causes the SDM to present the standard open dialog.  The dialog is set so that only map datasets can be opened and with the directory tree set initially at path.  If path is not a valid directory, the open dialog will be set at the root of the directory tree.

This method returns 0 if the user selects a valid map dataset to open. Otherwise, it returns an error code.