When this code runs, all the errors in the forms are handled by the Try Catch of Sub Main. How can I avoid this?
VB Code:
Module Start Sub Main() Try ' some code here Application.Run(New Form1()) Catch ex as System.Exception Messagebox.Show(ex.Message) End Try End Sub End Module




Reply With Quote