• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 350
  • Last Modified:

MultiSelect Property for CommonDialog

I use CommonDialog control to Open Files and trying to let users use the MultiSelect option but the control does not include the MultiSelect property.
0
Viki
Asked:
Viki
1 Solution
 
TimCotteeHead of Software ServicesCommented:
Set CommonDialog1.Flags = cdlOFNAllowMultiselect

Before the .ShowOpen, this displays a different open dialog which allows multiple file selection. You
should specify the .FileName property as a wildcard e.g., "*.*" as well before the .ShowOpen. The .FileName
property will return the list of files selected seperated by spaces. Use Split(String," ") to get an
array of the filenames.  
0
 
DennisBorgCommented:
>Use Split(String," ") to get an array of the filenames.  

Unless you've set the flag to instruct it to use long file names.

-Dennis Borg
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now