General discussion

Locked

MS Dialog Automation Objects

By EdwardHammerbeck ·
I am trying to use the MS Dialog Automation Objects in a project and I am have set the multiselect property to True. However, when multiple files are selected, only one is listed in the FileName property, and the FileNames.Count property is 1.As an unsupported dll, finding help through official channels has been fruitless. Does anyone have a clue how to select multiple files in this way (and make use of them)?

Thanks,
Ed

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

MS Dialog Automation Objects

by ketanparekh In reply to MS Dialog Automation Obje ...

you have to set flag for multiselect file. The file name is returned in a string with space delimited. You can use split function to transform that string in to array then you can loop thru array to get file name.
e.g of code
sFileArray = Split(dlgOpen.FileName, Chr(34))

Collapse -

MS Dialog Automation Objects

by EdwardHammerbeck In reply to MS Dialog Automation Obje ...

Great! Thanx.

Collapse -

MS Dialog Automation Objects

by EdwardHammerbeck In reply to MS Dialog Automation Obje ...

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums