May 9, 2003 #1 ashvn Programmer Mar 21, 2001 33 MU Hi! How can I clear event viewer logs by using VB? Thanks a lot!!
May 9, 2003 #2 mattKnight Programmer May 10, 2002 6,230 GB 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. Upvote 0 Downvote
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.