?
Solved

How to access content of web page in IE

Posted on 2006-03-22
2
Medium Priority
?
262 Views
Last Modified: 2010-04-01
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.?
0
Comment
Question by:serg111
2 Comments
 
LVL 22

Accepted Solution

by:
mahesh1402 earned 500 total points
ID: 16271719
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
 
LVL 2

Author Comment

by:serg111
ID: 16288795
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question