Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MultiSelect Property for CommonDialog

Posted on 2001-09-10
2
Medium Priority
?
346 Views
Last Modified: 2010-05-18
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
Comment
Question by:Viki
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 680 total points
ID: 6470960
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
 
LVL 8

Expert Comment

by:DennisBorg
ID: 6471054
>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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question