好像以前可以把字符串发给WebBrowser显示,怎么现在只能这样了?一定要有个文件才能显示网页?
Dim web As WinForm.WebBrowser = e.Form.Controls("WebBrowser1")
web.Address = "d:\file.html"
那是帮助以外的东西了
Dim webCtl As WinForm.WebBrowser = Forms("窗口1").Controls("WebBrowser1")
Dim webb As System.Windows.Forms.WebBrowser = webCtl.BaseControl
webb.DocumentText = "<h2>12345</h2>"