{"id":249,"date":"2005-04-05T09:50:05","date_gmt":"2005-04-05T07:50:05","guid":{"rendered":"http:\/\/10.0.0.2\/wordpress\/?p=249"},"modified":"2013-07-24T02:43:36","modified_gmt":"2013-07-24T00:43:36","slug":"wrap_will_be_a_c_project","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2005\/04\/wrap_will_be_a_c_project\/","title":{"rendered":"WRap will be a C# project"},"content":{"rendered":"<p>Yesterday, I managed to create a button in Microsoft Word (with the highly sophisticated functionality of displaying &#8216;you pressed the button&#8217; when &#8230; you press the button), something I&#8217;ve been unable to pull of in Delphi for quite some time. Automating Word (basically creating an Ole-object and controlling it) is not so difficult as it might seem when you start, but doing so from within Word (read: creating an add-in) is not something very well documented if you&#8217;re using Delphi.<br \/>\nI found an <a href=\"http:\/\/support.microsoft.com\/default.aspx?scid=kb;en-us;302901\">article<\/a> in the Microsoft Knowledgebase via CodeProject that explains how to create a very simple add-in. And that was all I needed, and all I have been searching for quite some time now.<\/p>\n<p>The generated add-in (DLL) must be registered (regasm) and be put in the addins-directory (e.g. c:program filesmicrosoft officeoffice11addins) and that&#8217;s about it.<\/p>\n<p>WRap (Word Rapportage, Dutch for Word Reporting) is a working title, so I need to think of something that&#8217;s not already there in the crowded land of reporting tools.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday, I managed to create a button in Microsoft Word (with the highly sophisticated functionality of displaying &#8216;you pressed the button&#8217; when &#8230; you press the button), something I&#8217;ve been unable to pull of in Delphi for quite some time. Automating Word (basically creating an Ole-object and controlling it) is not so difficult as it <a href='https:\/\/www.switchbl8.nl\/blog\/2005\/04\/wrap_will_be_a_c_project\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,8,33],"tags":[],"class_list":["post-249","post","type-post","status-publish","format-standard","hentry","category-c","category-development","category-wrap","category-39-id","category-8-id","category-33-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=249"}],"version-history":[{"count":1,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":1435,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/249\/revisions\/1435"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}