Good evening,
I'm having problems when trying to save a listbox in a .txt file, follow the code;
IO.Directory.CreateDirectory("C:\Test")
Dim Caminho As New IO.StreamWriter("C:\Test\Arquin.txt")
Dim i As Integer
For i = 0 To ListBox1.Items.Count - 1
Caminho.WriteLine(ListBox1.Items.Item(i))
Next
Caminho.Close()
The following error occurs:
'Item' is not a member of 'System.Array'
(I am Brazilian, maybe my English is half wrong because I used the google translator)