<br />
<b>Warning</b>:  Undefined array key "HTTP_ACCEPT_LANGUAGE" in <b>/www/wwwroot/01xj.net/wp-content/plugins/wp-ue/main.php</b> on line <b>13</b><br />
{"id":308,"date":"2012-07-25T13:16:47","date_gmt":"2012-07-25T13:16:47","guid":{"rendered":"http:\/\/www.01xj.net\/0\/?p=308"},"modified":"2012-07-25T13:16:47","modified_gmt":"2012-07-25T13:16:47","slug":"vb-%e5%88%a4%e6%96%ad-webbrowser%e6%98%af%e5%90%a6%e5%b7%b2%e7%bb%8f%e5%8a%a0%e8%bd%bd%e7%bd%91%e9%a1%b5%e5%ae%8c%e6%af%95","status":"publish","type":"post","link":"https:\/\/www.01xj.net\/?p=308","title":{"rendered":"VB \u5224\u65ad WebBrowser\u662f\u5426\u5df2\u7ecf\u52a0\u8f7d\u7f51\u9875\u5b8c\u6bd5"},"content":{"rendered":"<div id=\"article_content\">\n<p>1\u3001<\/p>\n<p>Private Sub Form_Load()<br \/>\nWebBrowser1.navigate &#8220;<a href=\"http:\/\/01xj.net\">http:\/\/01xj.net<\/a>&#8221;<\/p>\n<p>Do<br \/>\nDoEvents<\/p>\n<p>If Not WebBrowser1.Busy And WebBrowser1.LocationURL &lt;&gt; &#8220;<a href=\"http:\/\/01xj.net\">http:\/\/01xj.net<\/a>&#8221; Then<br \/>\nMsgBox &#8220;OK&#8221;<\/p>\n<p>Exit Do<\/p>\n<p>End If<\/p>\n<p>Loop<\/p>\n<p>End Sub<\/p>\n<p>Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, Url As Variant)<\/p>\n<p>If (pDisp Is WebBrowser1.Object) Then<br \/>\nMsgBox WebBrowser1.LocationURL<br \/>\nEnd If<\/p>\n<p>End Sub<\/p>\n<p>\u00a02\u3001<\/p>\n<p>Private Sub WebBrowser_DocumentComplete(ByVal pDisp As Object, URL As Variant)<br \/>\n&#8216;\u83b7\u5f97\u7f51\u9875\u6807\u9898<br \/>\nIf Not WebBrowser.Busy Then &#8216;\u5224\u65ad\u7f51\u9875\u662f\u5426\u4e0b\u8f7d\u5b8c\u6bd5<br \/>\nDim strTitle As String<br \/>\nstrTitle = WebBrowser.Document.DocumentElement.InnerHtml<br \/>\nstrTitle = Mid(strTitle, 1, InStr(1, LCase(strTitle), &#8220;&lt;\/title&gt;&#8221;) &#8211; 1)<br \/>\nstrTitle = Mid(strTitle, InStr(1, LCase(strTitle), &#8220;&lt;title&gt;&#8221;) + 7)<br \/>\nMe.Caption = strTitle<br \/>\nEnd If<br \/>\nEnd Sub<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>1\u3001 Private Sub Form_Load() WebBrow&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-308","post","type-post","status-publish","format-standard","hentry","category-vb"],"_links":{"self":[{"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/posts\/308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.01xj.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=308"}],"version-history":[{"count":1,"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/posts\/308\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/www.01xj.net\/index.php?rest_route=\/wp\/v2\/posts\/308\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/www.01xj.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.01xj.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.01xj.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}