I have VB application, in which I inserted an ActiveX control. The methods in this ActiveX control does not return any value. But if the input parameters are wrong or due to timeout, Out of range input value fails to execute the method. And the app gives an error and closes.
Is there a way to catch the failure of execution?