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






EventLog.Source

  

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.New EventLog
2.EventLog.CreateEventSource
3.EventLog.Entries
4.EventLog.SourceExists
5.EventLog.WriteEntry