Hey all, I have a small question. What i'm wanting to do, is probably pretty simple, but I'm truthfully lost as I'm merely a newbie delphi boy. Don't get me wrong though, I know enough about delphi to make master/detail reports, but when it comes to interacting with files, reading a line, and then posting what is found, heh, i'm kinda at a loss..
So, here is my problem. I have a small network setup at my house, that I use for sharing files. When someone accesses my network, what they are doing is logged into a log file ( let's call it bob.log ). Now, when I need to search for a specific date to see what joe henry was doing on january 28, 2002, I am gonnna have to go through hundreds of different dates and happenings before I finally come across the line that has the date that i need to see.
What the file has, is an IP, Date Stamp, What they downloaded, and what protocol they were using. what I want to be able to do , is specify a date in delphi, and it read this log file, skip down to the specified date, and post all information reguarding any activity during that time/date.
So, is there anyway that I can do this? An example of a log file I have would be :
10.0.0.1 - - [14/Jun/2000:13:48:10 -0700] "GET encoder/bob.rm
RTSP/1.0" 200 146835 [WinNT_4.0_184.108.40.206_play32_RN6C_en-US_686]
any/all help would be greately appreciated..... thanks again
Intermd Delphi Warrior lol