I'm reading a multiline, comma separated file into an array by splitting the elements by the comma delimiter, and using that to populate a listbox. But I also get the end of line binary character, which I don't want. How can I read one line at a time? I can do it in embedded VB, but don't find the same method on VB6. Thanks.
PHP Code:Private Sub FillList()
Dim aryList() As String
Dim i As Integer
strFile = Input(LOF(1), 1)
aryList = Split(strFile)
For i = 1 To UBound(aryList)
lst1.AddItem aryList(i)
Next
End Sub




Reply With Quote