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