摘要:
HTMLDocumentClass hc = new HTMLDocumentClass(); IHTMLDocument2 doc2 = hc; doc2.write(content); doc2.close(); 阅读全文
摘要:
//提交窗体uses MSHTML;procedure TForm1.Button1Click(Sender: TObject);begin (((WebBrowser1.Document as IHTMLDocument2).body.all as IHTMLElementCollection).item('key', 0) as IHTMLInputElement ).value := 'z... 阅读全文
摘要:
object c=null;myWeb.Navigate("http://zhidao.baidu.com/",ref c,ref c,ref c,ref c);//...获取WebBroswer中的body代码mshtml.HTMLDocumentClass doc=(mshtml.HTMLDocumentClass)myWeb.Document;mshtml.HTMLBody body=(ms... 阅读全文