Apr 052005
 

As you guys (any galls around?) know by now, I’m evaluating what to upgrade to. Currently I’m a Delphi 6 Enterprise user, and have the choice of upgrading to Delphi2005 or Visual Studio .NET 2003 (or 2005 if I wait any longer…) You’ve read my ramblings and I’m stabilizing in my choice (which is in slight favour of VS.NET on features).

When evaluating, one has access to Borland’s Delphi2005 Architect edition (available as download), and to Microsoft’s Visual Studio .NET 2003 Professional (available in seperate ways, I got mine from the free Microsoft Visual Basic .NET Resource Kit DVD).

Both Delphi and VS.NET come in several flavours, Delphi’s trial is their biggest, VS.NET’s is Microsoft second biggest (they also got an Architect version above Professional). When I’m trying either product, there is no way in the world that’s gonna tell me: you still can cope with the cheapest version, still the cheapest version, oh oops, now you need the professional version, still professional, compile->run, professional version is what I need for this kind of project.

Is there an analysis tool for either Delphi2005 or for VS.NET projects to tell you which version one needs? This tool (if it exists) would serve another goal: if you’re going to release your source (for whatever reason), you can tell the users: you need at least this-and-that version of the IDE.

 Posted by at 22:55
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