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. Accessing IE via COM or ActiveX

Accessing IE via COM or ActiveX

Scheduled Pinned Locked Moved COM
c++com
2 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.
  • D Offline
    D Offline
    Dave Midgley
    wrote on last edited by
    #1

    I need to "talk to" an IE session from another application. I presume this is done either over a COM inteface to IE, or by making the "other application" an ActiveX control and installing it as an IE "plug-in". You can probably tell that I'm not quite sure what I'm talking about here, as I am not very familiar with ActiveX or COM. (However I am an experienced C++, VC and MFC programmer). Can anyone give me a few pointers, and maybe recommend some books, articles or sites. Thanks. Dave

    A 1 Reply Last reply
    0
    • D Dave Midgley

      I need to "talk to" an IE session from another application. I presume this is done either over a COM inteface to IE, or by making the "other application" an ActiveX control and installing it as an IE "plug-in". You can probably tell that I'm not quite sure what I'm talking about here, as I am not very familiar with ActiveX or COM. (However I am an experienced C++, VC and MFC programmer). Can anyone give me a few pointers, and maybe recommend some books, articles or sites. Thanks. Dave

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      If you make code usng ATL, HTML control must be answer. Core : Your code implements IObjectWithSite then IE will use SetSite() method to pass to your code the IUnknown pointer to its site object. Then you can query IServiceProvider and you get IWebBrowser2 pointer. That's it..!

      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