{"author_name":"sirocco","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","published":"2010-05-25 05:35:46","title":"COM \u3092\u5b66\u3076(3) : Ruby \u306e invoke \u30e1\u30bd\u30c3\u30c9\u3060\u3051\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b\u3002","width":"100%","blog_url":"https://sirocco.hatenadiary.org/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100525%2F1274819746\" title=\"COM \u3092\u5b66\u3076(3) : Ruby \u306e invoke \u30e1\u30bd\u30c3\u30c9\u3060\u3051\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b\u3002 - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","url":"https://sirocco.hatenadiary.org/entry/20100525/1274819746","height":"190","image_url":null,"categories":["Ruby","COM"],"type":"rich","description":"COM\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3057\u3088\u3046\u3068 Ruby \u306e Win32OLE \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\uff08win32ole: Ruby Standard Library Documentation\uff09\u3092\u8ffd\u3063\u3066\u307e\u3059\u3002 \u524d\u56de\u306e\u300cCOM \u3092\u7406\u89e3\u3059\u308b(2)\uff1aC\u3067ADODB.Connection\u306b\u63a5\u7d9a\u3059\u308b\u300d\u306b\u3042\u308b\u30c6\u30fc\u30d6\u30eb\u3092\u8868\u73fe\u3057\u305f\u69cb\u9020\u4f53\u306b invoke \u304c\u3042\u308a\u307e\u3059\u304c\u3001Ruby \u306e invoke \u306f\u305d\u306e\u3078\u3093\u3092\u4f7f\u3063\u3066\u3044\u308b\u3063\u307d\u3044\u3002 $KCODE=\"s\" require 'win32ole' sql = \"SELECT * FROM earthquake;\" connstr = \"DRIVER={Microsoft Access Driver\u2026","author_url":"https://blog.hatena.ne.jp/sirocco/"}