Groups | Blog | Home
all groups > dotnet interop > december 2006 >

dotnet interop : WARNING: Office XP PIAs Cause Office 2000 Apps to Fail


wilsonj8234 NO[at]SPAM yahoo.com
12/4/2006 6:13:05 AM
I am developing an Excel automation app. where I have only Office 2000
installed on my machine. Unfortunately I installed the Office XP PIAs.
This caused my app. to no longer interface with Excel. It appears
that even though I was using Excel 9.0 as my COM reference, the system
wanted to point to the Excel 10.0 reference from the PIAs that I
installed. We are not warned by Microsoft that the XP PIAs will cause
Office 2000 and earlier versions to no longer work. I followed the
directions from MS on how to uninstall the PIAs complete with tedious
registry edits but could not seem to get them out of the system.

The only was I was able to get things back to normal was to do a system
restore to a point prior to the installation of the PIAs.
RobinS
12/4/2006 9:06:35 AM
Thanks for letting us know. This is valuable info for me,
and will save me a lot of time and effort.
Robin S.
----------------------------------
[quoted text, click to view]

Cindy M.
12/5/2006 6:59:59 PM
[quoted text, click to view]
But it is logical. After all, the PIAs reflect the content of the COM
type libraries. And a different version of an application will have
different type libs.

All the documentation I've ever seen concerning programming Office,
generally, using .NET mentions that there are no PIAs for Office 2000 and
that you have to let Visual Studio generate a set of IAs. Or use
TlbImp.exe to generate them.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
AddThis Social Bookmark Button