Automation components missing from component palette

Giganews Newsgroups
Subject: Automation components missing from component palette
Posted by:  Matthew Jackson
Date: Tue, 21 Jul 2009

Hi,
I have just made the move from Delphi 2007 to 2009 and am having problems with the office XP automation server components.

The problem seems to be that even though the relevant package is ticked in the design packages list- 'Microsoft Office XP Sample Automation Server Wrapper Components', whenever I load in a D2007 project, components do not appear on the form designer, and are not listed in the object inspector window.  They are however in the .pas file (i.e. ExcelApp : TExcelApplication etc), and the project builds without warnings or errors.

Similarly, if I start a new project, there is no 'Server' section in the component palette.

I have also noticed that if I uncheck the Office XP server package, but enable the Office 2000 server package, I do then get the the Server section in the component palette.  However, loading in a project after I have done this results in a new error message:

'Component TWordDocument can't be registered by package dclofficexp120.bpl because it has already been registered by package dcloffice2k120.bpl'.

Any guidance would be appreciated!

Thanks in advance,
Matt Jackson.

Replies