Apr 052005
 

Yesterday, I managed to create a button in Microsoft Word (with the highly sophisticated functionality of displaying ‘you pressed the button’ when … you press the button), something I’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’re using Delphi.
I found an article 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.

The generated add-in (DLL) must be registered (regasm) and be put in the addins-directory (e.g. c:program filesmicrosoft officeoffice11addins) and that’s about it.

WRap (Word Rapportage, Dutch for Word Reporting) is a working title, so I need to think of something that’s not already there in the crowded land of reporting tools.

 Posted by at 09:50

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)