Hi Cablito,
I hope that this helps?
Cor
\\\
Dim myEventLog As New Diagnostics.EventLog("System", ".")
Dim myLogEntryCollection As _
EventLogEntryCollection = myEventLog.Entries
For i As Integer = myLogEntryCollection.Count - 1 To 0 Step -1
Dim myLogEntry As EventLogEntry = myLogEntryCollection(i)
Dim mystrings() As String = myLogEntry.ReplacementStrings
For Each str As String In mystrings
Console.WriteLine(str)
Next
Next
///
Anyone know how to deal with the ReplacementStrings from the LogEntry
class?
When you read a LogEntry.Messages that has extended characters or whatnot,
it throws an exception about converstion overflow - well, there is
something to do with replacementStrings, 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.