[DUG] Opening Word Document
Cameron Hart
Cameron.Hart at flowsoftware.co.nz
Thu Aug 19 15:40:03 NZST 2010
Yes you can certainly use 2007 and 2010 with Delphi, no problem there but you need to do it yourself rather than with the Delphi wrappers.
Regards,
Cameron
Cameron Hart | Development Manager | Flow Software Limited
P: +64 9 476 3569 x910 | M: +64 21 222 3569 | E: cameron.hart at flowsoftware.co.nz
PO Box 305-237, Triton Plaza, Auckland 0757, New Zealand | www.flowsoftware.co.nz
This message is intended for the addressee named above. It may contain privileged or confidential information. If you are not the intended recipient of this message you must not use, copy, distribute or disclose it to anyone.
Please consider the environment before printing this email
-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On Behalf Of Jeremy North
Sent: Thursday, 19 August 2010 3:11 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] Opening Word Document
All versions of word are backwards compatible.
We support Word 2007 and 2010 mail merging. So it can be done.
We use late binding though, although we have used the early binding units for Word 2007 as I was proof of concepting a new feature. I use the Word 2000 unit for maximum compatibility.
On Thu, Aug 19, 2010 at 12:50 PM, Cameron Hart <Cameron.Hart at flowsoftware.co.nz> wrote:
> I don't think Delphi 6 supported Word 2007. Even with BDS 2006 you
> needed to choose which version of Office you would support when you
> installed the application, as it could only load one set of components at the same time.
> You could choose between 2000 and 2003 versions.
>
>
>
> Regards,
>
> Cameron
>
>
>
>
>
> From: delphi-bounces at delphi.org.nz
> [mailto:delphi-bounces at delphi.org.nz] On Behalf Of Eion McIntosh
> Sent: Thursday, 19 August 2010 9:59 a.m.
> To: NZ Borland Developers Group - Delphi List
> Subject: [DUG] Opening Word Document
>
>
>
> Hi
>
> I have an application which opens a word template document, makes a
> connection to the database file and does a mail merge. There is only
> one record for this mail merge and we have been running this
> successfully for the last 5-6 years with the app opening the document under Word 2000.
>
> We have migrated to Word 2007 and the mail merging process has changed
> a bit, so I'm trying to get the app updated for this. The app opens
> the document ok, but I can't get it to setup the connection to the
> data source automatically. Under the Mail merge menu option it always
> wants to be set up from scratch each time. If I open the document
> directly from its directory, it makes the connection and works as I
> want it too, it's only when I call to open the document from within my
> app it isn't making the automatic connection.
>
> Using Delphi 6 and a TWordApplication component.
>
> Any thoughts, as I don't want to user to have to manually make the
> connection every time.
>
> Regards
>
> Eion McIntosh | Business Systems Analyst | Silver Fern Farms Limited
> 199 - 201 Cashel St | PO Box 283, Christchurch 8041, New Zealand Tel
> +64 3 371 6725 | Fax +64 3 366 4412 | Mob +64 27 221 1438 Email
> eion.mcintosh at silverfernfarms.co.nz Web
> http://www.silverfernfarms.co.nz
>
> Silver Fern Farms - 100% Made of New Zealand
>
> This email (including any attachments) is confidential. If you have
> received it in error, please let us know immediately by return email
> and delete it from your system.
>
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
More information about the Delphi
mailing list