Taken/adjusted from
What am I missing?
AHWBGA!
Regards,
Ilya
Code:
Dim myLog As EventLog = new EventLog()
Dim lsRetStr As String = ""
For Each loEntry As EventLogEntry In myLog.Entries
lsRetStr += loEntry.Message + ", UN = " + loEntry.UserName + vbCrLf
Next

What am I missing?
AHWBGA!
Regards,
Ilya