When using CMdialog control to open multiple filenames is there a way to force the order in whch the resulting filenames are returned? I require the filenames to be returned in the order they were picked. ie holding down the control key and clicking on each file. However something appears to sort the returned filenames into another order which I've yet to work out.
This is the code I'm using:
strInputFileNam e returns the filenames in a different order to the order in whcih they were selected.
Any advice most welcomed, thanks Mark
This is the code I'm using:
Code:
CMDialog.FileName = ""nothing
CMDialog.DialogTitle = "Select photo/s..."
CMDialog.Filter = "jpg|*.jpg"
CMDialog.Flags = cdlOFNAllowMultiselect Or cdlOFNExplorer Or cdlOFNHideReadOnly
CMDialog.InitDir = "C:\Documents and Settings\Myuser\My Documents\My Pictures\somefolder"
CMDialog.MaxFileSize = 32000
CMDialog.ShowOpen 'opens fileopen
strInputFileName = CMDialog.FileName
Any advice most welcomed, thanks Mark
Comment