Sign in to follow this  
Followers 0
qaravi

why I get the following error?

2 posts in this topic

hi folks,

i'm getting the following error in Auto It frequently even full syntax is correct.

why this is happening.

the error as follows:

->14:47:05 AutoIT3.exe ended.rc:1

+>14:47:06 AutoIt3Wrapper Finished

>Exit code: 1 Time: 10.699

full description of error is as follows:

C:\Documents and Settings\vmanjunath\Desktop\scrap files\Demo _instant_Data.au3 (81) : ==> Variable must be of type "Object".:

For $abc In $oTable

For $abc In $oTable^ ERROR

->14:47:05 AutoIT3.exe ended.rc:1

+>14:47:06 AutoIt3Wrapper Finished

>Exit code: 1 Time: 10.699

thanks in advance,

ravi

Share this post


Link to post
Share on other sites



hi folks,

i'm getting the following error in Auto It frequently even full syntax is correct.

why this is happening.

the error as follows:

->14:47:05 AutoIT3.exe ended.rc:1

+>14:47:06 AutoIt3Wrapper Finished

>Exit code: 1 Time: 10.699

full description of error is as follows:

C:\Documents and Settings\vmanjunath\Desktop\scrap files\Demo _instant_Data.au3 (81) : ==> Variable must be of type "Object".:

For $abc In $oTable

For $abc In $oTable^ ERROR

->14:47:05 AutoIT3.exe ended.rc:1

+>14:47:06 AutoIt3Wrapper Finished

>Exit code: 1 Time: 10.699

thanks in advance,

ravi

The full code helps... Try adding this, then pasting the results (the script will automatically copy the results :))

;put this at the top of the code
$oMyError = ObjEvent("AutoIt.Error","MyErrFunc")

;put this anywhere in the code, down the bottom is fine :)
Func MyErrFunc()
  $HexNumber=hex($oMyError.number,8)
  Msgbox(0,"COM Error Test","We intercepted a COM Error !"   & @CRLF  & @CRLF & _
             "err.description is: " & @TAB & $oMyError.description   & @CRLF & _
             "err.windescription:"   & @TAB & $oMyError.windescription & @CRLF & _
             "err.number is: "   & @TAB & $HexNumber        & @CRLF & _
             "err.lastdllerror is: "   & @TAB & $oMyError.lastdllerror   & @CRLF & _
             "err.scriptline is: "   & @TAB & $oMyError.scriptline   & @CRLF & _
             "err.source is: "   & @TAB & $oMyError.source       & @CRLF & _
             "err.helpfile is: "       & @TAB & $oMyError.helpfile   & @CRLF & _
             "err.helpcontext is: " & @TAB & $oMyError.helpcontext _
            )
    ClipPut ("We intercepted a COM Error !"  & @CRLF  & @CRLF & _
             "err.description is: " & @TAB & $oMyError.description   & @CRLF & _
             "err.windescription:"   & @TAB & $oMyError.windescription & @CRLF & _
             "err.number is: "   & @TAB & $HexNumber        & @CRLF & _
             "err.lastdllerror is: "   & @TAB & $oMyError.lastdllerror   & @CRLF & _
             "err.scriptline is: "   & @TAB & $oMyError.scriptline   & @CRLF & _
             "err.source is: "   & @TAB & $oMyError.source       & @CRLF & _
             "err.helpfile is: "       & @TAB & $oMyError.helpfile   & @CRLF & _
             "err.helpcontext is: " & @TAB & $oMyError.helpcontext _
             )
  SetError(1); to check for after this function returns
Endfunc

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0