J
John
Hi
My vb.net winform app has frmMyForm as the start-up form. I have enclosed
My.Forms.frmMyForm.Show() within try/catch. Will this do the trick of
handling all exceptions that have not been handled elsewhere?
Thanks
Regards
Private Sub MyApplication_Startup(ByVal sender As Object, ByVal e As
Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles
Me.Startup
Try
My.Forms.frmMyForm.Show()
Catch ex As Exception
' Exception handling here
End Try
End Sub
My vb.net winform app has frmMyForm as the start-up form. I have enclosed
My.Forms.frmMyForm.Show() within try/catch. Will this do the trick of
handling all exceptions that have not been handled elsewhere?
Thanks
Regards
Private Sub MyApplication_Startup(ByVal sender As Object, ByVal e As
Microsoft.VisualBasic.ApplicationServices.StartupEventArgs) Handles
Me.Startup
Try
My.Forms.frmMyForm.Show()
Catch ex As Exception
' Exception handling here
End Try
End Sub