Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Office 2000 Addin

2 views
Skip to first unread message

Codex

unread,
Oct 17, 2003, 7:45:13 AM10/17/03
to
I've been developing in Windows XP with Office 2002. I have written a
set of addins in C#. They work fine in Windows XP machines with
Office 2002, but I believe that they are not working when I install
the software in Windows 2000 with Office 2000. I downloaded and
believe I am using the Office XP interop assemblies.

1. Does this make sense? Should the addin fail in Win2K?
2. How do I make them work in the Win2K machine?

Thanks,
Codex

Robert Jacobson

unread,
Oct 17, 2003, 3:14:07 PM10/17/03
to
The Office XP primary interop assemblies only work with Office XP. If you
want your program to be backwards compatable with Office 2000, you need to
create your own interop assemblies by referencing the Office 2000 libraries
in your project.

To do this, first install Office 2000 on your development machine (you can
do a side-by-side install with Office XP, except for Outlook, if you specify
a different destination directory during install.) Then, remove all the
references in your project(s) to the Office libraries. Finally, create a
new reference to the Office 2000 libraries -- e.g., for Microsoft Word 2000,
select Add References, select COM tab, and add a reference to the Microsoft
Word 9.0 Object Library. Visual Studio will create an interop assembly for
Word 2000/Office 2000.

The new Office 2000 interop assembly should be forward compatable with
Office XP and Office 2003.


"Codex" <codex_si...@yahoo.com> wrote in message
news:3139a7d3.03101...@posting.google.com...

Codex

unread,
Oct 20, 2003, 11:16:31 AM10/20/03
to
This could be very helpful. I will give it a try. I also need to
compile against Outlook 2000. It is possible to install the 9.0
Outlook libraries (even if I can't install the full program) so I can
compile against them?

Thanks,
Codex

"Robert Jacobson" <rjacobson_at...@nospam.com> wrote in message news:<OwnwZLOl...@TK2MSFTNGP11.phx.gbl>...

Kevin

unread,
Jan 14, 2004, 6:51:22 PM1/14/04
to
"The new Office 2000 interop assembly should be forward compatable with
Office XP and Office 2003."

has anybody verify this? I want to develop a COM add that works for all version of office. but no luck so far, seems it's not compatible between the office family somehow.

----- Robert Jacobson wrote: -----

.

0 new messages