| View previous topic :: View next topic |
| Author |
Message |
Kenneth Payne Guest
|
Posted: Sun Jan 18, 2004 2:20 pm Post subject: OLE Automation Compatibility |
|
|
I'm writing an application that generates a complex MS Word document using
OLE Automation.
I'm working with Delphi 4.0 and Office 97.
I'm worried about compatibility with other versions of MS Office. Will my
application run OK on Office 2000 and Office XP without changes?
Does using the MS Office 8.0 type library make any difference to the
compatibility of the program between versions of MS Office?
I'm new to this kind of programming and any comments would be much
appreciated.
Best wishes
- Ken
|
|
| Back to top |
|
 |
David Reeve Guest
|
Posted: Sun Jan 18, 2004 10:55 pm Post subject: Re: OLE Automation Compatibility |
|
|
"Kenneth Payne" <kmp (AT) atrium (DOT) fsnet.co.uk> wrote
| Quote: | I'm writing an application that generates a complex MS Word document using
OLE Automation.
I'm working with Delphi 4.0 and Office 97.
I'm worried about compatibility with other versions of MS Office. Will my
application run OK on Office 2000 and Office XP without changes?
Does using the MS Office 8.0 type library make any difference to the
compatibility of the program between versions of MS Office?
I'm new to this kind of programming and any comments would be much
appreciated.
Best wishes
- Ken
|
Don't know about Word, but I have an application that links to Excel, and
quite a number of the interfaces changed name with Office 2000 requiring us
to make code changes. The changes were commented at the top of the type
library. Try importing the Office 2000 type library for Word and see if it
is similarly commented.
Dave
|
|
| Back to top |
|
 |
Kenneth Payne Guest
|
Posted: Mon Jan 19, 2004 1:43 pm Post subject: Re: OLE Automation Compatibility |
|
|
Bjorge -
Thanks. From what you say, I think I should be OK. My document, though
complex in layout, consists of little more than normal text formatting,
tables, and a few graphics and charts. With any luck these basic functions
should not have changed.
Anyway, I'll find out when I test on later versions of Office!
Best wishes
- Ken
Bjørge Sæther wrote:
| Quote: | Most of it works just fine. The only things I've encountered is extended
MailMerge functionality of Word2000 (but there is probably a lot more).
The safest is doing a test, of course.
|
|
|
| Back to top |
|
 |
Kenneth Payne Guest
|
Posted: Mon Jan 19, 2004 1:47 pm Post subject: Re: OLE Automation Compatibility |
|
|
David -
Thanks for your suggestion. I'll look into it.
Best wishes
- Ken
David Reeve wrote:
| Quote: |
Don't know about Word, but I have an application that links to Excel, and
quite a number of the interfaces changed name with Office 2000 requiring
us to make code changes. The changes were commented at the top of the type
library. Try importing the Office 2000 type library for Word and see if it
is similarly commented.
Dave
|
|
|
| Back to top |
|
 |
Ray Porter Guest
|
Posted: Tue Jan 20, 2004 2:05 pm Post subject: Re: OLE Automation Compatibility |
|
|
I've run into a few minor changes. Some of the call names and parameter
lists changed slightly but if I remember correctly the old procedure names
are still there with "Old" appended to the name (i.e.,
WordProcNameOld(parmlist)). Unfortunately, the program where I ran into
these changes is at home and not at the office. The applications at the
office which use Word generally use less formatting than my private projects
and I've not hit any major difficulties here.
Ray
"Kenneth Payne" <kmp (AT) atrium (DOT) fsnet.co.uk> wrote
| Quote: | I'm writing an application that generates a complex MS Word document using
OLE Automation.
I'm working with Delphi 4.0 and Office 97.
I'm worried about compatibility with other versions of MS Office. Will my
application run OK on Office 2000 and Office XP without changes?
Does using the MS Office 8.0 type library make any difference to the
compatibility of the program between versions of MS Office?
I'm new to this kind of programming and any comments would be much
appreciated.
Best wishes
- Ken
|
|
|
| Back to top |
|
 |
Kenneth Payne Guest
|
Posted: Tue Jan 20, 2004 4:42 pm Post subject: Re: OLE Automation Compatibility |
|
|
Ray -
Thanks. That's useful information.
Best wishes
- Ken
Ray Porter wrote:
| Quote: | I've run into a few minor changes. Some of the call names and parameter
lists changed slightly but if I remember correctly the old procedure names
are still there with "Old" appended to the name (i.e.,
WordProcNameOld(parmlist)). Unfortunately, the program where I ran into
these changes is at home and not at the office. The applications at the
office which use Word generally use less formatting than my private
projects and I've not hit any major difficulties here.
|
|
|
| Back to top |
|
 |
|