Jump to content

_IEForm_submit problem


Recommended Posts

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 -1

EndFunc ;==>_IEFormSubmit

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 XP

Link to comment
Share on other sites

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 XP

What 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

Last version of IE.au3 --> 2.0.3

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.

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...