Error and Event Logging in VB.NET in VB.net

The following VB.NET project contains the source code and VB.NET examples used for Error and Event Logging in VB.NET. This article describes an approach to writing to a custom error log and to writing events into the system event log.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
ErrorsAndEvents.dll 24576
ErrorsAndEvents.pdb 44544
ErrorsAndEvents.xml 123
ErrorsAndEvents.dll 24576
ErrorsAndEvents.pdb 42496
ErrorsAndEvents.xml 123
ErrorLogger.vb 2090
ErrorsAndEvents.vbproj 3902
EventLogger.vb 1898
Application.Designer.vb 438
Application.myapp 481
AssemblyInfo.vb 1183
Resources.Designer.vb 2801
Resources.resx 5612
Settings.Designer.vb 3048
Settings.settings 279
ErrorsAndEvents.dll 24576
ErrorsAndEvents.pdb 44544
ErrorsAndEvents.Resources.resources 180
ErrorsAndEvents.vbproj.GenerateResource.Cache 784
ErrorsAndEvents.xml 123
My Project.Resources.Designer.vb.dll 7680
ErrorsAndEvents.vbproj.FileList.txt 682
ErrorsAndEvents.dll 24576
ErrorsAndEvents.pdb 42496
ErrorsAndEvents.Resources.resources 180
ErrorsAndEvents.vbproj.GenerateResource.Cache 784
ErrorsAndEvents.xml 123
My Project.Resources.Designer.vb.dll 7680
ErrorsAndEvents.sln 1421
ErrorsAndEvents.suo 30208
ErrorsAndEvents.dll 24576
ErrorsAndEvents.pdb 44544
ErrorsAndEvents.xml 123
TestProject.exe 32768
TestProject.pdb 60928
TestProject.vshost.exe 5632
TestProject.xml 119
ErrorsAndEvents.dll 24576
ErrorsAndEvents.pdb 42496
ErrorsAndEvents.xml 123
TestProject.exe 32768
TestProject.pdb 58880
TestProject.xml 119
Form1.Designer.vb 3003
Form1.resx 9474
Form1.vb 1667
Application.Designer.vb 1512
Application.myapp 510
AssemblyInfo.vb 1175
Resources.Designer.vb 2797
Resources.resx 5612
Settings.Designer.vb 3040
Settings.settings 279
ResolveAssemblyReference.cache 4503
My Project.Resources.Designer.vb.dll 7680
TestProject.exe 32768
TestProject.Form1.resources 2804
TestProject.pdb 60928
TestProject.Resources.resources 180
TestProject.vbproj.GenerateResource.Cache 842
TestProject.xml 119
ResolveAssemblyReference.cache 4507
My Project.Resources.Designer.vb.dll 7680
TestProject.exe 32768
TestProject.Form1.resources 2804
TestProject.pdb 58880
TestProject.Resources.resources 180
TestProject.vbproj.GenerateResource.Cache 842
TestProject.xml 119
TestProject.vbproj.FileList.txt 890
TestProject.vbproj 4653
ErrorsAndEventsExample.doc 95744
screenShot.jpg 9482

SocialTags: