I dont know where is the problem...
How can i fix this error "Illegal characters in path." ?
The code i use is...
Code:Dim reader As New StreamReader(My.Settings.masuratori_preluare_date) Do While reader.Peek <> -1 Dim fileName As String fileName = IO.Path.GetFileNameWithoutExtension(reader.ReadLine) Me.ListBox1.Items.Add(fileName) Loop reader.Close()




Reply With Quote