Aprire 1 o piu' files in vb net : Open 1 or more files in vb net

Un file si apre cosi' :

Si usa un OpenFileDialog (OFD) con la caratteristica della NON apertura Di una molteplicità di Files (OFD.Multiselect = False) e si ottiene il file e directory con OFD.Filename.

A file opens like this:

We use an OpenFileDialog (OFD) with the characteristic of NOT opening a multiplicity of Files (OFD.Multiselect = False) and we obtain the file and directory with OFD.Filename

 

OFD.Multiselect = False
OFD.ShowDialog()
FileName = OFD.FileName
Me.Text = "Change Name : " & FileName
ListBoxFiles.Items.Add(FileName)
DirectoryD = estrai_directory(OFD.FileName)