I was looking for an attempt to get my C ++ application to do the following:
- Open Internet Explorer
- Open the webpage.
- Enter your username and password in certain forms on the web page.
- Click the submit button on the web page to open a new page
From my search on the Internet, it seems that using COM can make this possible, although maybe I'm wrong. I am doing my best to learn COM at the moment, but some help would be great. I want to do this without using MFC.
I noticed this question, which I’m looking for, but it’s hard for me to understand the proposed solutions. For example, I do not have an option IWebBrowser2in my toolbar.
EDIT:
To make my question clearer, I completed this task in the C # version by simply running an encoded user interface test, but this will not work with C ++. I am looking to open IE (not in the application itself), find the username and password forms, pass them a string, then find the submit button on the page and click it.
source
share