我找到一段代码:vb制作浏览器怎样不弹出ie窗口?
Dim strURL As String
Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
Cancel = True
WebBrowser1.Navigate strURL
End Sub
Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
strURL = Text
End Sub
Private Sub Command1_Click()
WebBrowser1.Navigate "www.
End Sub
可是在这里提示变量未定义:
Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
strURL = Text
End Sub
我也不知道是怎么回事,喜欢知道的朋友给看看。