wb.OleObject.document.parentWindow.sethtml(pri_html); //注意函式名的大小寫
有的機器報錯 : Method 'sethtml' not supported by automation object
uj5u.com熱心網友回復:
試試這樣ihd:=IHTMLDocument2(wbb.Document );
Range1:=(ihd.body AS IHTMLBodyElement).createTextRange;
Range1.Collapse(False);
Range1.PasteHTML(m1.Lines.Text );
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/140861.html
標籤:網絡通信/分布式開發
