New EventInstance(300, 0, EventLogEntryType.Information), _ StrEvent6 = .FullName & vbCrĮventLog.WriteEvent("Microsoft Office 15 Alerts", _ 'vbCr added to each to make the error listing look like the rest.ĭim strEvent1 As String = "MS Word - RprinterAI" & vbCr 'Reporting Applicationĭim strEvent2 As String = strEventMSG & vbCr 'Messageĭim strEvent3 As String = ().Assembly.GetName().Version.ToString & vbCr 'Unknown 0 use for Addin versionĭim strEvent4 As String = .ToString & vbCr 'Reporting Application versionĭim strEvent5 As String = strEventLevel & vbCr 'Unused - Severityĭim strEvent6 As String 'Unused - get namem of current document Public Shared Sub AddEventlog(strEventMSG As String, strEventLevel As String) The good news is I found the answer by reviewing other unanswered questions. Really thought this was the right forum since my questions was specifically about writing to the General Office Event Log - "Microsoft Office 15 Alerts".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |