Originariamente inviato da A\|dR3\V
Il (mio) problema è che in fase di RunTime non posso fare la split della proprietà FileName della commondialog, con il carattere
Perchè no ?
Il carattere di separazione è vbNullChar 
codice:
Dim StrTemp As String
Dim CartellaSelezione As String
Dim File() As String
Dim Cont As Long
CD.FileName = ""
CD.Flags = &H80204
CD.ShowOpen
StrTemp = CD.FileName
If (Len(StrTemp) > 0&) Then
If (InStr(1, StrTemp, vbNullChar) > 0&) Then
CartellaSelezione = Left$(StrTemp, InStr(1&, StrTemp, vbNullChar))
StrTemp = Mid$(StrTemp, InStr(1&, StrTemp, vbNullChar) + 1&)
File = Split(StrTemp, vbNullChar)
Else
CartellaSelezione = Left$(StrTemp, InStr(1&, StrTemp, "\"))
StrTemp = Mid$(StrTemp, InStr(1&, StrTemp, "\") + 1&)
ReDim File(0)
File(0) = StrTemp
End If
MsgBox "Cartella :" & vbCrLf & vbCrLf & CartellaSelezione
For Cont = 0& To UBound(File)
MsgBox "File " & CStr(Cont + 1&) & " :" & vbCrLf & vbCrLf & File(Cont)
Next Cont
End If