06-14-2017 01:09 PM
06-15-2017 02:01 PM - edited 06-15-2017 02:02 PM
Hi d_gum,
I know it's not exactly what you want, but there is a shipping example that's very close to what you want to do. The example is located in Procedures » Creating Scripts » Working with Files » Opening a File Selection Dialog Box. It simply launches the File Selection Dialog Box, allows you to select a file, then displays the name of the file with its file path in a dialog box.
If you have any questions about how to edit this example to work with your View objects, feel free to post on the forums!
Regards,
06-16-2017 02:08 AM
There are two command that you might call
Option Explicit if "IDOk" = FileDlgShow(DataReadPath, "MyFile (*.csv),*.csv", "Select a file", false) then MsgBox FileDlgNameList(0) end if
is the simple one.
FileNameGet
is the one with much more capabilities. Please check help for it.