Select multiple file from standard Windows File Open/Save dialog box

J

jake.he

Hi:

I know how to select a file from the standard Windows File Open/Save
dialog box. Does anybody know how to select more then one file in the
same Windows File Open/Save dialog box?

So after selection, it will return a/an list/array of path&file names.
 
D

Dirk Goldgar

jake.he said:
Hi:

I know how to select a file from the standard Windows File Open/Save
dialog box. Does anybody know how to select more then one file in the
same Windows File Open/Save dialog box?

So after selection, it will return a/an list/array of path&file names.

If you are calling the Windows File Open/Save dialog from your Access
application, there's an option you can set to allow multiselect. When
you use that option, IIRC the return buffer will contain the path and
filename of the first file -- I could be wrong about that -- followed by
a Chr(0), followed by the names of the remaining files, all separated by
Chr(0), so that the list ends with two Chr(0) characters in a row. If
you're using the code at www.mvps.org/access/api/api0001.htm , then you
need to modify the code slightly so that it doesn't truncate the result
at the first Chr(0).
 
Top