BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

OLE Automation Compatibility

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Kenneth Payne
Guest





PostPosted: Sun Jan 18, 2004 2:20 pm    Post subject: OLE Automation Compatibility Reply with 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
David Reeve
Guest





PostPosted: Sun Jan 18, 2004 10:55 pm    Post subject: Re: OLE Automation Compatibility Reply with quote




"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





PostPosted: Mon Jan 19, 2004 1:43 pm    Post subject: Re: OLE Automation Compatibility Reply with quote



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





PostPosted: Mon Jan 19, 2004 1:47 pm    Post subject: Re: OLE Automation Compatibility Reply with quote

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





PostPosted: Tue Jan 20, 2004 2:05 pm    Post subject: Re: OLE Automation Compatibility Reply with 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.

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





PostPosted: Tue Jan 20, 2004 4:42 pm    Post subject: Re: OLE Automation Compatibility Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.