Is it possible to write an add-in COM in Visual Studio .NET to interact with Word XP?

B

BB

Greetings
I am trying to write an add-in COM object for Word XP and I have Visual Studio .NET at my disposal. I have read cuople examples online that deals with how to write add-ins for Office, but they only mention the how-to in VB and VC++ fashion. Plus I have learned the difference between managed and unmaneged code. I wonder can Word XP, unmanaged code, invoke services from .NET components, managed code?
If yes, what would be the choice of language for implementing such .NET component?
Also, can we use any .NET language to wirte COM objects? if yes, what is the difference between the .NET COM objects and pre.-NET COM objects? I believe they still bear the distinction of managed and unmaneged code concept. In order to have them work together, do I need to write PIAs for their interoperability?

Thanks for you reply. Your answer would mean so much to my understanding.
 
E

Eric Lawrence [MSFT]

I wish I could be more helpful, but I can tell you that I know a guy who
build a COM plugin for OfficeXP in C#. I'm not sure how exactly you have to
wrap your C# object so it's accessible to COM, but it is possible...

Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.


BB said:
Greetings
I am trying to write an add-in COM object for Word XP and I have Visual
Studio .NET at my disposal. I have read cuople examples online that deals
with how to write add-ins for Office, but they only mention the how-to in VB
and VC++ fashion. Plus I have learned the difference between managed and
unmaneged code. I wonder can Word XP, unmanaged code, invoke services from
..NET components, managed code?
If yes, what would be the choice of language for implementing such .NET component?
Also, can we use any .NET language to wirte COM objects? if yes, what is
the difference between the .NET COM objects and pre.-NET COM objects? I
believe they still bear the distinction of managed and unmaneged code
concept. In order to have them work together, do I need to write PIAs for
their interoperability?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top