Communication between Add in and Smart Tag in Office 2007

K

Kostadin Georgiev

Hello,

I have developed a custom smart tag dll for Office 2007. I've registered it
in the win registry and the Office 2007 applications succesfully load it. But
how can i access the recognizer of my smart tag in the Add-In that i'm
developing (I need to set the recognized terms in my Add-In)? It is not in
the Application.SmartTagRecognizers property. Does this mean that custom
smart tag recognizers cannot be accessed through this property?

And one more question. Which is loaded first - the Add-In or the Smart Tag?

Thanks,

Kostadin
 
G

greba

But how can i access the recognizer of my smart tag in the Add-In that i'm
developing (I need to set the recognized terms in my Add-In)?
I came across a similar problem (smart tagger needed to get
information from the Add-in), and what I did was used .NET remoting to
accomplish this. I based my solution on http://www.codeproject.com/csharp/Net_Remoting.asp.

One other problem that I came across was that accessing the Office
Object Model in a smart tagger may seem to work, but do NOT do this as
it causes major problems in certain situations.
And one more question. Which is loaded first - the Add-In or the Smart Tag?
The Add-in is loaded first and then the Smart Tagger.
 
K

Kostadin Georgiev

But how can i access the recognizer of my smart tag in the Add-In that i'm
I came across a similar problem (smart tagger needed to get
information from the Add-in), and what I did was used .NET remoting to
accomplish this.

Does this mean that there is no way to get the information from the Add-in
without using remoting technologies or smth of the kind?
 
G

greba

Does this mean that there is no way to get the information from the Add-in
without using remoting technologies or smth of the kind?
The Add-in and the smart tagger live in different threads so you need
some form of inter thread communication to have information passed
between the two. Remoting is one solution to this problem. There are
probably many others.
 

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