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. C / C++ / MFC
  4. How to use Internet Explorer with C++ using OLE

How to use Internet Explorer with C++ using OLE

Scheduled Pinned Locked Moved C / C++ / MFC
c++comquestioncsharptutorial
3 Posts 3 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.
  • H Offline
    H Offline
    Honsik
    wrote on last edited by
    #1

    In other programming languages such as Visual Foxpro I have to write only loObj = CreateObject("InternetExplorer.Application") loObj.navigate2("www.google.com") and I have an object of IE at google page and I can do with it what I want. How can I do this in C++ by easy way ? I am beginner, I am using VS2005 and pure C++, no .NET, no ATL

    G W 2 Replies Last reply
    0
    • H Honsik

      In other programming languages such as Visual Foxpro I have to write only loObj = CreateObject("InternetExplorer.Application") loObj.navigate2("www.google.com") and I have an object of IE at google page and I can do with it what I want. How can I do this in C++ by easy way ? I am beginner, I am using VS2005 and pure C++, no .NET, no ATL

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      Actually, if you are a beginner, there is no easy way especially without ATL. This article should get you started: http://www.codeproject.com/com/com_in_c1.asp[^]. This article actually deals more with creation rather than usage. However, I believe you need to understand the process from creation to employment to actually use COM/OLE in C++ correctly. Some may disagree with this but this has been my experience. Good luck. -- modified at 21:55 Tuesday 10th April, 2007

      "We make a living by what we get, we make a life by what we give." --Winston Churchill

      1 Reply Last reply
      0
      • H Honsik

        In other programming languages such as Visual Foxpro I have to write only loObj = CreateObject("InternetExplorer.Application") loObj.navigate2("www.google.com") and I have an object of IE at google page and I can do with it what I want. How can I do this in C++ by easy way ? I am beginner, I am using VS2005 and pure C++, no .NET, no ATL

        W Offline
        W Offline
        William Wang
        wrote on last edited by
        #3

        do u use MFC? if yes, u could use CHtmlView which wraps WebBrowser control.

        life is like a box of chocolate,you never know what you r going to get.

        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