{"id":693,"date":"2008-09-08T16:45:19","date_gmt":"2008-09-08T08:45:19","guid":{"rendered":"http:\/\/jason695.why3s.tw\/wordpress\/?p=693"},"modified":"2008-09-08T16:53:04","modified_gmt":"2008-09-08T08:53:04","slug":"vbnet-%e5%a6%82%e4%bd%95%e5%88%97%e8%88%89%e9%9b%bb%e8%85%a6%e4%b8%ad%e6%89%80%e5%ae%89%e8%a3%9d%e7%9a%84-odbc-driver","status":"publish","type":"post","link":"https:\/\/jason695.why3s.tw\/wordpress\/2008\/09\/08\/vbnet-%e5%a6%82%e4%bd%95%e5%88%97%e8%88%89%e9%9b%bb%e8%85%a6%e4%b8%ad%e6%89%80%e5%ae%89%e8%a3%9d%e7%9a%84-odbc-driver\/","title":{"rendered":"VB.Net \u5982\u4f55\u5217\u8209\u96fb\u8166\u4e2d\u6240\u5b89\u88dd\u7684 ODBC Driver"},"content":{"rendered":"<pre lang=\"VBNET\" line=\"1\">' \u7531\u767b\u9304\u6a94\u8b80\u53d6\u96fb\u8166\u4e2d\u6240\u5b89\u88dd\u7684 ODBC \u9a45\u52d5\u7a0b\u5f0f\r\nImports Microsoft.Win32\r\n\r\nPublic Class Form1\r\n  Private Sub Button1_Click(ByVal s As Object, ByVal e As EventArgs) Handles Button1.Click\r\n    Dim RegKey As RegistryKey = _\r\n      Registry.LocalMachine.OpenSubKey(\"Software\\ODBC\\ODBCINST.INI\")\r\n\r\n    ListBox1.Items.Clear()\r\n\r\n    For Each drv As String In RegKey.GetSubKeyNames\r\n      ListBox1.Items.Add(drv)\r\n    Next\r\n  End Sub\r\nEnd Class<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&#8216; \u7531\u767b\u9304\u6a94\u8b80\u53d6\u96fb\u8166\u4e2d\u6240\u5b89\u88dd\u7684 ODBC \u9a45\u52d5\u7a0b\u5f0f Imports Microsoft.Win32 Publi &hellip; <a href=\"https:\/\/jason695.why3s.tw\/wordpress\/2008\/09\/08\/vbnet-%e5%a6%82%e4%bd%95%e5%88%97%e8%88%89%e9%9b%bb%e8%85%a6%e4%b8%ad%e6%89%80%e5%ae%89%e8%a3%9d%e7%9a%84-odbc-driver\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587 <span class=\"screen-reader-text\">VB.Net \u5982\u4f55\u5217\u8209\u96fb\u8166\u4e2d\u6240\u5b89\u88dd\u7684 ODBC Driver<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-693","post","type-post","status-publish","format-standard","hentry","category-net","no-featured-image"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/comments?post=693"}],"version-history":[{"count":0,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/posts\/693\/revisions"}],"wp:attachment":[{"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/media?parent=693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/categories?post=693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jason695.why3s.tw\/wordpress\/wp-json\/wp\/v2\/tags?post=693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}