I have a 1 Gig file with ~ 17 million lines called truex.txt. I need to read or stream in the file ,and look for a string of "000000000000". When the line contains that string, write that line out to a file c:\temp\sample.txt. I need to stop after writing out 5000 lines.
I have not done VB in years, so a code snippet would be appreciated.