Hi Everyone. Im currently coding script for a BI Tool called Qlikview. Qlikview has a COM API that i use to get data and to manipulate the tool in verius ways. The script in itself is an compiled EXE that can do diffrent tasks depending on what input is put into a txt file. And when this input is entered in the wrong way, the script throws a COM errror. This usually is easy fixed with a COM error handler. But for some reason it wont work im my partucilur case. I have put the most frequently used
I think this is it: #include <IE.au3>
Local $oIE = _IE_Example("form")
Local $oTest = Null
Local $oErrorHandler = ObjEvent("AutoIt.Error", "_ErrFunc")
ConsoleWrite('+ ========================' & @CRLF)
; check if COM ERROR HANLDER Works
$oTest = $oIE.FireError
ConsoleWrite('! Test1 = ' & @error & @CRLF)
ConsoleWrite('+ ========================' & @CRLF)
$oTest = $oIE.document.forms.item(0).GetElementsByTag