Hi Paul
You can Use the Trace Class or the Debug Class to write all the entries you
want to the Application log on your machine ( or you can even create your
custom log )
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemdiagnosticstraceclasstopic.asp
what can also do is to use the big number of counters offered by the
performance counter to check the execution steps of your application. You
can read more about the performance counter class on this link
I guess my original question was a bit vague. I want to log the launches of
other programs, not my own. In addition to logging program executions, I
would like to be able to optionally prevent a program from running. I've
found a simple way around this by periodically getting the list of processes
and closing those that shouldn't be running. I would prefer finding a
prevent the programs from running at all.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.