Been searchin the MSDN Lib and have only ended up whating to kill myself.
I want to take this text file:
And parse these parts of the text file into a listbox or textbox:Code:Event Log Alert (ELAlert) V2.1.1 Generate alerts from NT event logs to alphanumeric pager or external program. Copyright (c) 1998,1999 Vincent A. Olivieri ([email protected]) Scanning event logs (ctrl-c to quit)... ***Alert time: Thu Sep 14 10:07:04 2000 Event time: Thu Sep 14 10:13:51 2000 SCIHOUDB06*App*ERR*Inventory Scanner*14*LDISCN32: The inventory server 10.10.1.152 did not respond. Running: C:\nothing.log C:\nothing.log - CreateProcess failed. system error 2
this was just a short version as the real text file has many entires. Thanks so much.Code:***Alert time: Thu Sep 14 10:07:04 2000 Event time: Thu Sep 14 10:13:51 2000 SCIHOUDB06*App*ERR*Inventory Scanner*14*LDISCN32: The inventory server 10.10.1.152 did not respond.




Reply With Quote