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. Regarding web page content

Regarding web page content

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
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
    H4u32
    wrote on last edited by
    #1

    Hello all, I want to read data from web page into my VC application. This web page is being downloaded in VC application in COleContainer class. Now i want to get text from the this web page to VC application. Is it possible then how could i accomplish it? Please help me. Any help is much more appreciated. Thanks & Regards, Hemang

    C H 2 Replies Last reply
    0
    • H H4u32

      Hello all, I want to read data from web page into my VC application. This web page is being downloaded in VC application in COleContainer class. Now i want to get text from the this web page to VC application. Is it possible then how could i accomplish it? Please help me. Any help is much more appreciated. Thanks & Regards, Hemang

      C Offline
      C Offline
      Chiew Heng Wah
      wrote on last edited by
      #2

      Assumming the COleContainer implements a IHTMLDocument interface you will then be able to get the HTMLElement of the Body of the webpage. The HTMLElement class has many different methods for you to access the text of the webpage. If you want the HTML use the InnerHTML method, if you want the plain text, use the InnerText. There is also the corresponding OuterHTML and OuterText - depends on what you are looking for.

      1 Reply Last reply
      0
      • H H4u32

        Hello all, I want to read data from web page into my VC application. This web page is being downloaded in VC application in COleContainer class. Now i want to get text from the this web page to VC application. Is it possible then how could i accomplish it? Please help me. Any help is much more appreciated. Thanks & Regards, Hemang

        H Offline
        H Offline
        Hamid Taebi
        wrote on last edited by
        #3

        See http://www.codeproject.com/KB/COM/DHTML_Interfaces.aspx[^].

        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