I am trying to implement the global error handling described on this page...
http://www.dotnetdevs.com/articles/G...rHandling.aspx
I'm a VB person and don't understand much of C# when it gets more
complicated. Can someone please help me with the following statement that
is in C#, I need this in VB and have been using Patel's converter but just
can't get rid of the errors in VS.NET.
void IHttpModule(HttpApplication application) {
_application = application;
_application.Error += new EventHandler(ErrorHandler);
}
ERROR:
'Public Event Error(sender As Object, e As System.EventArgs)' is an event,
and cannot be called directly. Use a 'RaiseEvent' statement to raise an
event.
It's choking on the 2nd line of code.
Thanks so much!