Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

IE error handling

$
0
0

I use my own function for error handling

Global $o_AutoIt_MyErrFunc = ObjEvent("AutoIt.Error", "_AutoIt_MyErrFunc")

but when I use ie.au3   UDF then 

 

i have that message in console

 

--> IE.au3 V2.4-0 Warning from function internal function __IEIsObjType, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler)

 

 

so I try do that something

$oIEErrorHandler = $o_AutoIt_MyErrFunc $sIEUserErrorHandler = '_AutoIt_MyErrFunc'

but then I have that message in console

 

 

$o_AutoIt_MyErrFunc.windescription: Can't install a new Errorhandler when one is still active.

$o_AutoIt_MyErrFunc.description is:
$o_AutoIt_MyErrFunc.source is:
$o_AutoIt_MyErrFunc.helpfile is:
$o_AutoIt_MyErrFunc.helpcontext is: 0
$o_AutoIt_MyErrFunc.lastdllerror is: 0
$o_AutoIt_MyErrFunc.scriptline is: 3750
$o_AutoIt_MyErrFunc.retcode is: 0
 

 

 

Is there any way to use my errorhandler / my defined function used in ObjEvent for error handling from IE object ?

 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>