ashvn
You need to look up the following API calls
OpenEventLog - To get handle to event log (either Local or remote
ClearEventLog - Clears Eventlog
CloseEventLog - to clear up after yourself...
It is a relatively simple process...
If you want to read the event log, there is some proof of concept code written by strongm around. A search of this forum shoudl find it!
Take Care
Matt
If at first you don't succeed, skydiving is not for you.