In a commondialog I set this flag:
CommonDialog1.FLAGS = cdlOFNAllowMultiselect
so various files can be selected. Then, in
CommonDialog1.FileName
the path and the names of the selected files are returned separated by null characters:
Path & Chr(0) & File1 & Chr(0) & ... & Chr(0) & FileN
so that I can retrive the individual file names using a split statement.
Is there an easier way I'm not aware of?




Reply With Quote