Thanks Jon,
I am currently going this avenue. I am using .Net 2.0 and seen they
now have a BackgroundWorker. Have you used this class yet?
Amy.
Jon wrote:[color=blue]
> <amyl@paxemail.com> wrote:[color=green]
> > 1.) No, the encoding could be different.
> > 2.) File size is random. Most are less < 20k, some could be as large
> > as 10mb.
> >
> > Currently I am going line by line and stopping at the second \r\n\.
> >
> > It seems my issue is not the reading of the files, but the listview
> > being created. It takes several seconds (5-10) to add about 1000
> > entries into a 6 column listview. Unfortuantly it still happens even
> > when using BeginUpdate and EndUpdate. Are there any other listview
> > tricks?[/color]
>
> You should read the file in another thread and update the UI using
> BeginInvoke.
>
> See
http://www.pobox.com/~skeet/csharp/t...winforms.shtml
>
> --
> Jon Skeet - <skeet@pobox.com>
>
http://www.pobox.com/~skeet Blog:
http://www.msmvps.com/jon.skeet
> If replying to the group, please do not mail me too[/color]