Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Is it possible for an ActiveX control to access the DOM of the page?

Is it possible for an ActiveX control to access the DOM of the page?

Scheduled Pinned Locked Moved COM
htmlcomhardwarehelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    keniagm
    wrote on last edited by
    #1

    Hi everybody!! I'm developing a web application that has embedded an activeX control. For some specific purposes I need the activeX to access the DOM elements of the page that contains it, but I don't know if this is possible. So, I need to now: first if this can be done and if so, how I could do it. Any help or ideas will be appreciated. Thanks Kenia

    Kenia

    V 1 Reply Last reply
    0
    • K keniagm

      Hi everybody!! I'm developing a web application that has embedded an activeX control. For some specific purposes I need the activeX to access the DOM elements of the page that contains it, but I don't know if this is possible. So, I need to now: first if this can be done and if so, how I could do it. Any help or ideas will be appreciated. Thanks Kenia

      Kenia

      V Offline
      V Offline
      vishalmore
      wrote on last edited by
      #2

      yes its possible, get IHTMLDocument2 pointer/object and you can access the element info, using several Interfaces provided by IE. look in MSDN for IHTML** interfaces...

      Cheers, Vishal

      K 1 Reply Last reply
      0
      • V vishalmore

        yes its possible, get IHTMLDocument2 pointer/object and you can access the element info, using several Interfaces provided by IE. look in MSDN for IHTML** interfaces...

        Cheers, Vishal

        K Offline
        K Offline
        keniagm
        wrote on last edited by
        #3

        Thanks Vishal for your quick reply, I hope your ideas help me doing the task. :) Cheers

        Kenia

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups