New EventLog : EventLog « System.Diagnostics « VB.Net by API






New EventLog

  


Imports System.Diagnostics

Module Module1
    Sub Main()
        Dim Log As New EventLog("Application")
        Log.Source = "FormEventLog"
        Log.WriteEntry("www.java2s.com")

    End Sub
End Module

   
    
  








Related examples in the same category

1.EventLog.CreateEventSource
2.EventLog.Entries
3.EventLog.Source
4.EventLog.SourceExists
5.EventLog.WriteEntry