From: Chris Hulan Date: 2010-02-12T04:35:05+09:00 Subject: Re: Can SWIN CommonDialog.openFilename() select multiple files? On Feb 11, 10:32 am, Alex DeCaria wrote: > Can the SWIN CommonDialog.openFilename() method be used to select > multiple filenames at one time? > Had to look at the code but looks like it is a straight forward wrapper of the CommonDialog:GetOpenFileName (http://msdn.microsoft.com/ en-us/library/ms646829(VS.85).aspx#open_file) so supports all its functionality Set the OFN_ALLOWMULTISELECT flag, and the result should be a string containing all the files. The windows doc says it could be NULL separated or space separated so you'll need to play a bit to figure out how to parse out the individual file names. This is all based on reading, so while in theory its correct, in practice you'll have to figure some stuff out ;) cheers Chris