web analytics

TechnoBlogy Blog

Change default browser in Visual Studio 0

Change default browser in Visual Studio

Visual Studio opens a web project for debugging in the default browser. This might not be the Internet Explorer. To change this behavior stop debugging and open a ASPX File from your web solution....

Add an entry to event log in C# 2

Add an entry to event log in C#

EventLog is a good place to write your applications log. Here is an example to show how to do this: If ( !EventLog.SourceExists("TestCategory")) EventLog.CreateEventSource("TestCategory","TestLog"); EventLog evtLog = new EventLog(); evtLog.Source = "TestCategory"; evtLog.WriteEntry("This is...