vb读取网页内容问题
远程网页http://www. 的内容就是一个&符号,我用WebBrowser1读取他的内容,为何获取的内容不同呢请问如何才能用最简单的方法用WebBrowser1获取正确的信息呢
Option Explicit
Dim nr As String
Private Sub Command3_Click()
WebBrowser1.Navigate "http://www.
End Sub
Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
On Error Resume Next
nr = WebBrowser1.Document.documentElement.innerHTML
Debug.Print nr
End Sub
Private Sub Form_Load()
WebBrowser1.Navigate "about:blank"
End Sub