LOULOU Posted June 23, 2006 Share Posted June 23, 2006 Func _IEFormSubmit(ByRef $o_object, $f_wait = 1) If Not IsObj($o_object) Then __IEErrorNotify("Error", "_IEFormSubmit", "$_IEStatus_InvalidDataType") SetError($_IEStatus_InvalidDataType, 1) Return 0 EndIf ; If Not __IEIsObjType($o_object, "form") Then __IEErrorNotify("Error", "_IEFormSubmit", "$_IEStatus_InvalidObjectType") SetError($_IEStatus_InvalidObjectType, 1) Return 0 EndIf ; SetError($_IEStatus_Success) Local $o_window = $o_object.document.parentWindow $o_object.submit Local $oTemp = $o_window.document If $f_wait Then _IELoadWait($oTemp) SetError(@error) Return -1 EndIf Return -1EndFunc ;==>_IEFormSubmitWhen invoking _IeSubmit($oform,1) or _IeSubmit($oform,0)This instruction Local $oTemp = $o_window.document return IE.au3 (1740) : ==> The requested action with this object has failed.: Local $oTemp = $o_window.document Local $oTemp = $o_window.document^ ERROR with NT4 and is good with Win XP Link to comment Share on other sites More sharing options...
DaleHohm Posted June 23, 2006 Share Posted June 23, 2006 When invoking _IeSubmit($oform,1) or _IeSubmit($oform,0)This instruction Local $oTemp = $o_window.document return IE.au3 (1740) : ==> The requested action with this object has failed.: Local $oTemp = $o_window.document Local $oTemp = $o_window.document^ ERROR with NT4 and is good with Win XPWhat version of IE.au3?Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted June 23, 2006 Share Posted June 23, 2006 shouldnt it be _IEFormSubmit? Link to comment Share on other sites More sharing options...
LOULOU Posted June 26, 2006 Author Share Posted June 26, 2006 shouldnt it be _IEFormSubmit?Last version of IE.au3 --> 2.0.3 Link to comment Share on other sites More sharing options...
DaleHohm Posted June 26, 2006 Share Posted June 26, 2006 Last version of IE.au3 --> 2.0.3Thanks.I've actually rewritten that piece of code in 2.0-4 and expect they issue will be resolved.I'll be posting the udpdate today or tomorrow.Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
LOULOU Posted June 26, 2006 Author Share Posted June 26, 2006 Thanks.I've actually rewritten that piece of code in 2.0-4 and expect they issue will be resolved.I'll be posting the udpdate today or tomorrow.DaleI will try it as soon as possible. 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