J
Jack Wright
Dear All,
In ASP.Net we had...
Sub Page_Error(Source As Object, E As EventArgs)
Dim message As String = "<font face=verdana color=red>" _
& "<h4>" & Request.Url.ToString() & "</h4>"
_
& "<pre><font color='red'>" &
Server.GetLastError().ToString() & "</pre>" _
& "</font>"
Response.Write(message)
End Sub
where from Server.GetLastError we could get the error and display it
neatly to the user...for all the errors that are unhandled in the
Form...is there a similar funtion in WinForms...I tried to search one
but did not get it...
Please help...
Thanks & Regards
Jack
In ASP.Net we had...
Sub Page_Error(Source As Object, E As EventArgs)
Dim message As String = "<font face=verdana color=red>" _
& "<h4>" & Request.Url.ToString() & "</h4>"
_
& "<pre><font color='red'>" &
Server.GetLastError().ToString() & "</pre>" _
& "</font>"
Response.Write(message)
End Sub
where from Server.GetLastError we could get the error and display it
neatly to the user...for all the errors that are unhandled in the
Form...is there a similar funtion in WinForms...I tried to search one
but did not get it...
Please help...
Thanks & Regards
Jack