Isn't this line going to die unless you're an administrator?

 

EventLog.CreateEventSource(ConsoleEvents, "Application");

 

In Framework 1 you could create event sources, but that was blocked in the
security putsch of Framework 2.

 

Greg

 

Reply via email to