runbird
asked on
How to open a huge text file and count the lines?
I am using ASP.NET in VB.
I have some huge text file which the size is normally 950MB to 1GB. I need to do the counting of lines for my text file. And this huge file is located at my local computer.
May I know is there any solution that I can do the count of lines for my text file?
I have some huge text file which the size is normally 950MB to 1GB. I need to do the counting of lines for my text file. And this huge file is located at my local computer.
May I know is there any solution that I can do the count of lines for my text file?
You could use Notepad++
Try using File Editor (32-bit) at http://www.download.com/Programmer-s-File-Editor-32-bit-/3000-2352_4-10002157.html?cdlPid=904159
or using textpad
http://www.textpad.com/index.html
or using textpad
http://www.textpad.com/index.html
have you tried to open it with Visual Studio?
or you can use some kind of line counter, you don't have to load the file into memory:
http://www.codeproject.com/KB/files/SourceCodeLineCounter.aspx
http://www.codeproject.com/KB/files/SourceCodeLineCounter.aspx
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.