Link to home
Start Free TrialLog in
Avatar of GurcanK
GurcanK

asked on

Best Method to Read Files in VB.Net

Dear Experts,

We are going to write a VB.Net program which will read huge files and parse them. The file size will be between 1-4 GB. Which is the best efficient method to read such huge files in VB.Net? Any recommendation with some documentation welcomes.

Best regards.

GK
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

What exactly do you want to do with the files ?

An enumerable class to read large text files in a For Each loop
http://www.dotnet2themax.com/ShowContent.aspx?ID=4ee44d6c-79a9-466d-ab47-56bba526534f
Avatar of GurcanK
GurcanK

ASKER

We're going to parse some fields from a formatted text file and write to a database.
Do you know where in the file the fields are that you need or do you need a field from each textline in the file ?
Avatar of GurcanK

ASKER

Yes, we know where the needed fields are in each line.
ASKER CERTIFIED SOLUTION
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial