I'm trying to read a text file who's about 160 Mb big.
I want to read a block of 148 caracters but he only reads in the first 20 caracters of the line, even when trying to do the readline function.
When I try 2 do this with another file I made myself it works just fine.
The big file seems to have some problems maybe because the files comes from an american standard or somthing.
Anyone any ideas ?
Try something like this
Private Sub readIt (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim myFile As File
Dim reader As New FileStream("PATH FOR MY FILE", FileMode.Open)
Dim result As New ArrayList(reader.Length)
Dim i As Integer
i = reader.ReadByte
Catch ex As Exception
You will end up with your file in arraylist then you can convert it to another format. You can also try to read directly to byte array
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center