|
-
Feb 4th, 2000, 10:55 AM
#1
Thread Starter
New Member
how do you use flags to allow users to select multiple files in the open dialog box?
-
Feb 4th, 2000, 04:18 PM
#2
New Member
Sraight from VB help...
cdlOFNAllowMultiselect &H200 Specifies that the File Namelist box allows multiple selections.
The user can select more than one file atrun time by pressing the SHIFT key and using the UP ARROW and DOWN ARROW keys to select the desired files. When this is done, the FileName property returns a string containing the names of all selected files. The names in the string are delimited by spaces.
CommonDialog1.Flags = &H200
if youd like to use other flags just separate them by using "OR"
CommonDialog1.Flags = &H200 or &H1000
cdlOFNFileMustExist &H1000 Specifies that the user can enter only names of existing files in the File Name text box. If this flag is set and the user enters an invalid filename, a warning is displayed. This flag automatically sets the cdlOFNPathMustExist flag.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|