C
cmdolcet69
I have this code below that will open a created file and read the file
to the end. However if my file has values 200,300,400 seperated by
commas how can i read in each seperate value and place it into an
arraylist? I need to do some sort of commas split to just read the
values and not the commas.
Dim oFile As File
Dim oRead As System.IO.StreamReader
Dim EntireFile As String
Try
oRead = oFile.OpenText("C:\sample.txt")
EntireFile = oRead.ReadToEnd()
oRead.Close()
Catch ex As Exception
'Error Handling Code.
End Try
to the end. However if my file has values 200,300,400 seperated by
commas how can i read in each seperate value and place it into an
arraylist? I need to do some sort of commas split to just read the
values and not the commas.
Dim oFile As File
Dim oRead As System.IO.StreamReader
Dim EntireFile As String
Try
oRead = oFile.OpenText("C:\sample.txt")
EntireFile = oRead.ReadToEnd()
oRead.Close()
Catch ex As Exception
'Error Handling Code.
End Try