Im using
For Each foundFile As String In My.Computer.FileSystem.GetFiles( _
My.Computer.FileSystem.SpecialDirectories.MyDocuments, _
FileIO.SearchOption.SearchAllSubDirectories, "*element.txt")
ListBox1.Items.Add(foundFile)
to get file paths. There are 3 elements for example. And i need them to become variables. (a,b,c)
And show in labels
Label1.text= a
Label2.Text =b
Label3.Text =c
Label1 will show the first file path and so on...
How can i transfer FilePaths to variables?