nitekram Posted January 19, 2007 Share Posted January 19, 2007 I have some code that should show the msgbox() for a second and then it goes away - it does for the most part, but everytime I run my code it stops about the same place - after going through 1042 files. The msgbox just sits there waiting and then when I press OK - program continues. Since one of my functions calls this and it does come up - it should be something wrong with this - right? But like I said this msgbox comes up about 17 times during the 1042 files an NO problem. Has anyone else had this issue? Func _ErrorComMsg($HexNumber, $typeError) MsgBox(0, "ERROR = " & $typeError, " 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, 1) EndFunc ;==>_ErrorComMsg 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
Valik Posted January 19, 2007 Share Posted January 19, 2007 You've given zero useful information. The AutoIt version and the operating system are both extremely important for this problem. Link to comment Share on other sites More sharing options...
nitekram Posted January 19, 2007 Author Share Posted January 19, 2007 You've given zero useful information. The AutoIt version and the operating system are both extremely important for this problem.So sorry - OS = XP sp1>"C:\Program Files\AutoIt3\SciTE\CompileAU3\CompileAU3.exe" /run /beta /ErrorStdOut /in "F:\!DSO CHANGER\!properite_changer_newest_1.au3" /autoit3dir "C:\Program Files\AutoIt3\beta" /UserParams >Running AU3Check C:\Program Files\AutoIt3\SciTE\Defs\Unstable\Au3Check\au3check.dat>AU3Check Ended. No Error(s).>Running: (3.2.1.12):C:\Program Files\AutoIt3\beta\autoit3.exe "F:\!DSO CHANGER\!properite_changer_newest_1.au3" 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
Valik Posted January 19, 2007 Share Posted January 19, 2007 Use the latest version of AutoIt. The version you are using is over 2 months old. MsgBox() was fixed in a newer version. Link to comment Share on other sites More sharing options...
nitekram Posted January 19, 2007 Author Share Posted January 19, 2007 Use the latest version of AutoIt. The version you are using is over 2 months old. MsgBox() was fixed in a newer version.Again sorry - thanks for the fix. 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now