Currently, to trap untrapped exceptions, I have this...
VB Code:
Public Shared Sub Main() Try Application.Run(New frmMain) Catch ex As Exception MsgBox(ex.Message) End Try End Sub
It works fine for the most part, except that a many controls that I have in my app will be loaded dynamically via the Activator.CreateInstanceFrom() method. I put in a couple of Throw's in one of my dynamic controls, just to test it out, but the exceptions don't even seem to be getting thrown, let alone caught by my Try Catch block. What have I missed?
![]()




Reply With Quote