Hi Cablito,
I hope that this helps?
Cor
\\\
Dim myEventLog As New Diagnostics.Eve ntLog("System", ".")
Dim myLogEntryColle ction As _
EventLogEntryCo llection = myEventLog.Entr ies
For i As Integer = myLogEntryColle ction.Count - 1 To 0 Step -1
Dim myLogEntry As EventLogEntry = myLogEntryColle ction(i)
Dim mystrings() As String = myLogEntry.Repl acementStrings
For Each str As String In mystrings
Console.WriteLi ne(str)
Next
Next
///
Anyone know how to deal with the ReplacementStri ngs from the LogEntry
class?
When you read a LogEntry.Messag es that has extended characters or whatnot,
it throws an exception about converstion overflow - well, there is
something to do with replacementStri ngs, I just can´t figure how to get pass this.
I´ve tried the most absurd things to get through (I won´t even post what I
have tried or else my gene pool would be haunted by this for centuries).
any help is appreciated.