Hi,
i'm reading in a text file in the following way:
Problem is it seems this way of reading file is sometimes quite slow? Is there a quicker way to read in a text file?Code:dim sr as streamreader sr = file.opentext(filename) dim x as string while sr.peek <> -1 x = trim(sr.Readline()) & vbcrlf txtFile.text = txtFile.text & x end while sr.close()
Many thanks
Nick




Reply With Quote