Method of IScriptApplication
Helper to detach handler from event plug
var pbSuccess = ScriptApplication.detachEvent(strEventName, pEventHandler);
==== Visual Basic Script ====
pbSuccess = ScriptApplication.detachEvent strEventName, pEventHandler
==== C++ ====
VARIANT_BOOL bSuccess; HRESULT hr = ScriptApplication.detachEvent(strEventName, pEventHandler, &bSuccess);
===== See Also ===== IScriptApplication