Solved

MultiSelect Property for CommonDialog

Posted on 2001-09-10
2
328 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 170 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

856 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