你用help.showpopup试试看可不可以

解决方案 »

  1.   

    richtextbox好像不能装载网页,不知道还有没有别的办法。
      

  2.   

    richtextbox能转载任何东西,当然你得另外写点代码。
      

  3.   

    太好了,可是我用RichTextBox.LoadFile()方法不能将html文档装进去,你有办法来转载html文档吗?
      

  4.   

    应该不是WebBrowser做的吧!可能是1楼说的RichTextBox做的
      

  5.   

    显示和存是两个字段,在发生textchange时搜索重新显示所有的值
      

  6.   

    liduke兄能否说的再详细一点,谢谢了。
      

  7.   

    你的做法不对,微软有一个mshtml.dll 控件负责它的webface 窗体,比如XP的help、mp9的setup 之类的如果你想用ie 则不应该“先生成一个网页,然后再让WebBrowser浏览”,而是动态的改变它的内容,比如:mshtml.IHTMLDocument2 document;
    private void button1_Click(object sender, System.EventArgs e) {
    object url="about:blank";
    object _null = null;
    axWebBrowser1.Navigate2(ref url, ref _null, ref _null, ref _null, ref _null); //转化对象
    document = axWebBrowser1.Document as mshtml.IHTMLDocument2;
    }private void button2_Click(object sender, System.EventArgs e) {
    //以后就可以和javascript 一样的控制它了
    string url="about:blank";
    document.open(url, null, null, null);
    document.writeln("<font color=red>hello, this's ArLi</font>");
    document.close();
    }说明:要引用的有 microsoft web browse 和 microsoft html
    对IE 比较感冒,没想过用它开发,有不对的你自己更正一下
      

  8.   

    非常感谢ArLi2003,好久没来了,这么长时间才结帖在这里向大家道歉了。