I did that , but the message box is not considered as an exception , it is considered a part of the process and vb just waits for the process to complete