0

in resources there is a text file with items like
number 1
2
number 3 three

when i use code

For Each i As String In My.Resources.TextFile1

            If i.ToString().Trim.Length = 0 Then

                ListBox1.Items.Remove(i.ToString())

            Else

                ListBox1.Items.Add(i.ToString())

            End If



        Next

then in listbox1 its looks like this
http://myup.ir/images/61057050895672070364.jpg

n
u
m
b
e
r
1
i want listbox1 read items from text file witch in resources and show some thing like this
number 1
2
number 3 three

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by Reverend Jim
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.