how to change the content in chtmview?
-
i build a app. its view is drived chtmview, and it can explore internet. but i want chang the content in chtmview, when i open a html page. for example, i want show the datas that are from database in view. how can i do?
Hello You can use
GetHtmlDocument()
method to getIDispatch
interface of HTML document object. Then you can query interfaces of your interest:IHTMLDocument2
,IHTMLDocument3
. With these interface you can access entire HTML document. Look at MSDN. All these MSHTML interfaces are documented pretty well. Andrew -
i build a app. its view is drived chtmview, and it can explore internet. but i want chang the content in chtmview, when i open a html page. for example, i want show the datas that are from database in view. how can i do?
You can get a handle to an IHTMLElement and then you'll be able to insert code in an html document position[^] or to replace the whole document[^] Marc Soleda. ... she said you are the perfect stranger she said baby let's keep it like this... Tunnel of Love, Dire Straits.