Hi everyone. I'm using a common dialog control to select filenames. The problem is that they must have multiple selection option.

When I try to parse the FileName property I get this weird character "" I dunno what to use to compare this special character. The code follows

files = dlgSelArchivo.FileName
n = Len(files)
For j = 1 To n
char = Mid(files, j, 1)
If char = Null Then
flag = 1
ElseIf char <> Null And flag >= 1 Then
final = final + char
ElseIf char = Null And flag >= 1 Then
final = final + "; "
End If
Next j

Any replies will be appreciated.

Thank You