Architecture
SQL Server
Game Technologies
Visual FoxPro
VS Express Editions
Visual C#
Smart Device
Windows Forms
Visual Studio
Visual C++
VS Team System
Visual J#
Visual Basic
.NET Development
Windows Vista
Software Development Network>> .NET Development>> Windows Event Viewer
Windows Event Viewer
Hot Topic
Problem with HttpWebRequest after Form Submit
Update connect not working..
Reading XML-Document to console
Async Send / Receive
Error
Data changes not being saved to the .mdf file
.NET HttpListener has a limit of 2 concurrent requests handled at a time per process, How can I increase it ?
Attribute Programming Patented?
Cutom Errors refuse to turn off
Inequality searches on keyed collections
.NET Development
Assembly have been signed but not protecting
.NET 1.1 process.kill?
Using the DateTimePicker
Concurrency Violation with Delete Command
Integrated security problem
Preventing .NET DLL execution
Formatting Numeric Value as Date
Page Breaks
Timeout in WinHttp object
TableAdapters/XSD Schemas/XPath Query and the Update Function
Windows Event Viewer
HI,
I developed an application in C# and would like to display the errors of my application into Windows Event Viewer.
Can anyone help me out.
Thanks
Answer this question
Windows Event Viewer
Timothy Fries
This can achieved using the System.Diagnostics.EventLog.WriteEntry() method.
More information at:
http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdiagnosticseventlogclasstopic.asp
Windows Event Viewer
Answer this question
Windows Event Viewer
Timothy Fries
More information at: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemdiagnosticseventlogclasstopic.asp