Home All Groups Group Topic Archive Search About

How to load text from log file in listview

Author
10 Oct 2006 7:15 PM
Dragan Ristic
Can any one tell how can I load text from log file (.log, .txt) in
ListView control (Details view). I have log file like this:

Date and Time ; User Name ; Some event
Date and Time ; User Name ; Some event

and i wish load this to ListView columns (Time, User, Event).

Author
10 Oct 2006 11:20 PM
GhostInAK
Hello Dragan,

Check out System.IO.FileStream, System.String, and System.Windows.Forms.Listview
classes.

-Boo

Show quoteHide quote
> Can any one tell how can I load text from log file (.log, .txt) in
> ListView control (Details view). I have log file like this:
>
> Date and Time ; User Name ; Some event
> Date and Time ; User Name ; Some event
> and i wish load this to ListView columns (Time, User, Event).
>