You may sometimes need to detect the execution of a failed operation. In this example, the On Cancel catches the failure of an ActiveX URL operation.