>Hi Alex,
>
>What is the Finally used for if it is always executed? Just place the Finally code after the End Try.
>
>What I was trying to determine if the try command had a way to execute code if no errors occurred.
>
>I am a beginner in Vb .net.
>
>Thanks
>Roland
>===========================================================================I see Claudio already answered. As he says, depending on the error, the rest of the program (after End Try) may not run. Finally will, so it gives you place to have code to do whatever in any case (error or not).
HTH