How to access content of web page in IE

Posted on 2006-03-22
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);

This way I can access element "document.images"

But how can I enumerate images? I mean access document.images[1], document.images[2] etc.?
Question by:serg111
    LVL 22

    Accepted Solution

    Refer this if it may of ur use :

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

    LVL 2

    Author Comment

    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?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
    IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
    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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now