WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Control Manager
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Clicking on SUBMIT button using MS Internet Explorer

Keywords:      submit button     MS IE

Question:

I am using control manager to obtain window handles to edit fields and push buttons displayed in an HTML form. One of the push buttons is a SUBMIT button.

When using control manager, it works 100% of the time with Netscape. However, with Internet Explorer, the SUBMIT button never works UNTIL I manually click the button once. Then the control manager script works 100% of the time.

I also have a RESET button which always works, even when the SUBMIT button doesn't.

I remember reading elsewhere regarding Microsoft's dynamic building of menu options. Something similar? Suggestions?

Answer:

Not sure. There is a MouseClickBtn function that might be helpful.

My guess is that there is some kind of window activation problem - window is not activated properly by default. But a mouse click on the window runs it thru the activation procedure.

Try clicking the mouse on the html window - but NOT on the submit button and see if that fixes it. If so a MouseMove and MouseClick combo might do the trick.

Maybe all you need is some kind of WinActivChild call (note no E in Activ)


Article ID:   W12495
Filename:   Clicking on SUBMIT button using MS IE.txt
File Created: 1999:04:15:16:47:38
Last Updated: 1999:04:15:16:47:38