Foxpro InternetExplorer.Application object

I use the InternetExplorer.Application object to automatically sign into Yahoo

The following code has been working for a few year on Internet Explorer version 8,
but when I upgraded to version 9 it no longer works. The user name and password fill the text boxes, but the submit button doesn't 'click' to submit the form. I also tried which until now also works, but for Internet Explorer 9 and above, it doesn't:




Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You have to look at the login_form HTML code and check the button name under IE 9. Then you should call the Click method of the button:


BTW, to store passwords in the app code isn't good security practice. Users should fill passwords manually and then press the appropriate button.
esak2000Author Commented:
As expressed in my original post, I also tried the click method, but that didn't work either.
Thank you for the best practice comment.
The original post says  ""  which is different from  oIE.Document.login_form.submit.Click()

Did you look at the login page source already? The button does not have "submit" name. I'll test it later.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Try this:


and you may play with Click parameters probably.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.