Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internet Explorer Programming using maybe MFC??

Status
Not open for further replies.

ankursaxena

Programmer
Sep 7, 2001
133
US
Hi!
I have a project due in a couple of days and i was wondering if i can get some help from here. i am working on creating an app which actually, invokes IExplorer and then sets the url and also could parse the html and find what objects lie within the html. eg if i put in hotmail.com in the url..it pops up. then once its loaded i want to prase the loaded page to c what all kind of input fields r there what kinds of buttons, checkboxes etc. i hope u understand what i mean. also be able to see whats being writtent ot he status bar in the IE so that i know when the page is working when the page has completly loaded(like it says done) etc.
once i know i want to be able to put in the information i have to the right object, maybe if i have a username i want to parse the html find a input field called login/username and then take the string i have and make the value of that input field(html) to the string. etc etc. etc.
it would be really helpful.
thank you very much in advance.
-Ankur
 
put InternetExplorer ActiveX control in a box, add the variable and use method Navigate to open some htm file. Ion Filipski
1c.bmp


filipski@excite.com
 
The following code creates a new, hidden, non-navigated instance of the InternetExplorer object, and sets m_pIE equal to the new instance.


HRESULT hr = CoCreateInstance(CLSID_InternetExplorer,
NULL,
CLSCTX_LOCAL_SERVER,
IID_IWebBrowser2,
(void**)&m_pIE);

Read the about IWebBrowser2 interface and it's members and you will be able to create, manipulate, show , hide and distroy instances of IExplorer. You have to know a little bit of COM BTW.

HTH, s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top