Help on that method isn't the best... but if you look up LogPath (highlight the word
LogEvent in your code window and hit F1... then select "See Also" and choose LogPath),
you'll see that LogEvent only works in a compiled program. Not from within the IDE. Even
then, it's limited. A bit more work'll give you a lot better output...
Read/Write to Event log samples....
Ken Halter - MS-MVP-VB - http://www.yqcomputer.com/
Please keep it in the groups..