Unsure if a similar error crops up with anything else, this was just the first roadblock I came across
So for example, this works (from the doc):
Code: Select all
SelectedFile := FileSelect(3, , "Open a file", "Text Documents (*.txt; *.doc)")
if SelectedFile = ""
MsgBox "The dialog was canceled."
else
MsgBox "The following file was selected:`n" SelectedFile
Code: Select all
SelectedFolder := FileSelect("D", , "Select a folder")
if SelectedFolder = ""
MsgBox "The dialog was canceled."
else
MsgBox "The following folder was selected:`n" SelectedFolder