I am using a common dialog open control to open multiple files. Here is my code.
VB Code:
  1. 'On Error GoTo EndIt
  2.     CD1.Flags = cdlOFNAllowMultiselect + cdlOFNExplorer
  3.     CD1.InitDir = App.Path
  4.     CD1.Filter = "Text Files (*.txt)|*.txt|All Files (*.*)|*.*"
  5.     'CD1.MaxFileSize = 32767
  6.     CD1.ShowOpen
  7.    
  8.     MsgBox CD1.FileName

When I select 1 file I get a msgbox with it's full path, but if I select multiple files all that is in the msgbox is the path to the folder of the selections (and not the file names).

If I remove the cdlOFNExplorer flag then I get the ugly Win95 dialog, but I get the proper value for CD1.Filename.

Any ideas?