How to access content of web page in IE

Currently I am using following functions to access element on web page

pDisp->GetIDsOfNames(IID_NULL, &wszName, 1, LOCALE_USER_DEFAULT, pdispID);
pDisp->Invoke(dispID,IID_NULL,LOCALE_USER_DEFAULT,DISPATCH_PROPERTYGET,&dispParams,pvResult,NULL, NULL);

This way I can access element "document.images"

But how can I enumerate images? I mean access document.images[1], document.images[2] etc.?
LVL 2
serg111Asked:
Who is Participating?
 
mahesh1402Commented:
Refer this if it may of ur use :
http://www.codeguru.com/cpp/i-n/ieprogram/displayinginformation/article.php/c7273/

In above article refer functions :
GetURLsOfAllImages(),ReplaceImageURL(),GetBodyBackgroundImage() etc.

MAHESH
0
 
serg111Author Commented:
This code requre me to use library uuid.lib and I have problem to link it under Borland : "some invalid record in Library". Is it possible to fix it?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.