View Single Post
 
Old 06-05-2017, 02:19 PM
passel's Avatar
passel passel is offline
Sinecure Expert

Super Moderator
* Guru *
 
Join Date: Jun 2003
Location: Upstate New York, usa
Posts: 8,024
Default

Perhaps one place you may want to always have a Try Catch block, especially if you do a lot of initialization from the Form's Load event, is in the Form's Load event. There are situations where if an exception happens in the Form's Load event, the exception is quietly ignored and your Load event code will exit prematurely with no indication of a problem, other than some initialization you expected to be done is not done and may cause you problems later.
__________________
There Is An Island Of Opportunity In The Middle of Every Difficulty.
Miss That, Though, And You're Pretty Much Doomed.
Reply With Quote