Webbrowser无法显示网站内容

时间:2018-09-06 12:52:26

标签: vb.net

我使用webbrowser控件在vb.net下加载网页无法成功,但可以在IE中正常加载。

WebBrowser1.ScriptErrorsSuppressed = True
    WebBrowser1.Navigate("https://msdev.gointeract.io/interact/index?interaction=1461173234028-3884f8602eccbe259104553afa8415434b4581-05d1&accountId=microsoft&appkey=196de13c-e946-4531-98f6-2719ec8405ce&Language=English&CountryCode=CH&CountryLanguage=EN")

Private Sub WebBrowser1_DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted

    If WebBrowser1.ReadyState = WebBrowserReadyState.Complete Then
        MsgBox("load success")
    End If
End Sub``

0 个答案:

没有答案