bezzad / ErrorControlSystem

ErrorControlSystem is a .NET library created to automate handling .NET Windows-Base application exceptions and raise that to a sql server. This exception handler have some features as screen capturing, fetch server date time in exception occurrence time and etc.
http://bezzad.github.io/ErrorControlSystem/
GNU General Public License v3.0
32 stars 14 forks source link

How to install module on VB.NET project without Startup Module Class #36

Closed AFazli closed 9 years ago

AFazli commented 9 years ago

In VB.NET must be declare a module class for add ErrorControlSystem to project, and now, we need to add it without cleaning. Please add one example in read me file.

bezzad commented 9 years ago

In a VB Project can be declare this model:

In Solution Window:

Add startup handler :


Private Sub MyApplication_Startup(sender As Object, e As ApplicationServices.StartupEventArgs) Handles Me.Startup
            ' ------------------ Initial Error Control System --------------------------------
            ExceptionHandler.Engine.Start("localhost", "UsersManagements")
            ' ---------------------------------------------------------------------------------
        End Sub