This line:in this code:Code:L*neasDeArchivo = Split(sr.ReadToEnd(), vbCrLf)
takes too much time (63 seconds, because there are 2,000,000.0 lines to pass to L*neasDeArchivo() array).Code:Dim L*neasDeArchivo() as String fs = File.OpenRead(FilePath) sr = New StreamReader(fs) L*neasDeArchivo = Split(sr.ReadToEnd(), vbCrLf) fs.Close()
¿somebody knows a faster way?
_




Reply With Quote