Author: asifbhura | Posted on: 1/12/2010 5:34:34 AM | Views : 438

Hi
I have block of codeas below,


in code.some time i am having problem to send email then it throws exception and it doesnt execute remaining part.
So,I have commented email code right now, which you can see with these 2 function.

Util.SendAssMail
Util.VacationMail


Now, I want that, Whenever these function throws exception, the remaining part of code must be executed.
Please help me out,

Dim EmptypeCode As String = String.Empty
        Dim p_flag As Integer
        Dim periodFRom As String = String.Empty
        Dim PeriodTo As String = String.Empty
        Dim vac_code As String = String.Empty
        Dim extFlag As String = String.Empty
        Try
  ...

Go to the complete details ...