Aienthiwan
April 21st, 2001, 08:31 PM
Greetings,
I'd like to be able to select multiple files with my open common dialog control in my app, but when using the cdlOFNAllowMultiselect
flag, the reference states:
"...the FileName property returns a string containing the names of all selected files. The names in the string are delimited by spaces"
Huh? Spaces? Why the heck would Microsoft seperate filenames with spaces when clearly any number of spaces can be found within filenames themselves?
Is there an easy way of figuring out how many files and extracting them from the FileName property? A filename count perhaps? Or is there possibly a newer Common Dialog control (or if someone made one) that delmits multiple filenames with a different, more suitable character?
Thanks,
Aienthiwan
I'd like to be able to select multiple files with my open common dialog control in my app, but when using the cdlOFNAllowMultiselect
flag, the reference states:
"...the FileName property returns a string containing the names of all selected files. The names in the string are delimited by spaces"
Huh? Spaces? Why the heck would Microsoft seperate filenames with spaces when clearly any number of spaces can be found within filenames themselves?
Is there an easy way of figuring out how many files and extracting them from the FileName property? A filename count perhaps? Or is there possibly a newer Common Dialog control (or if someone made one) that delmits multiple filenames with a different, more suitable character?
Thanks,
Aienthiwan