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



Re: Visual Studio Tools for Office Communication between Add in and Smart Tag in Office 2007

Phil Hoff - MSFT

Information about your recognizer should appear in the Application.SmartTagRecognizers collection, but Office may not have loaded all of the recognizers when it loads your add-in. Therefore, the collection may be incomplete if iterated over in the add-in's startup code. From my observations, Office loads unmanaged recognizers before the add-in and managed recognizers afterward. In any case, it is not possible (or at least, I could not find a way) to get at the underlying custom recognizer object via the Application.SmartTagRecognizers collection. You will likely need to use some sort of IPC mechanism such as .NET Remoting or WCF.

-Phil





Re: Visual Studio Tools for Office Communication between Add in and Smart Tag in Office 2007

EagleWizard

Kostadin Georgiev wrote:

I have developed a custom smart tag dll for Office 2007



Hi, I'm trying to add a smart tag in Office 2007 with VSTO 2005SE.
The program seems to add them but it doesn't recognize the smart tags.
Could you show me the code or give me a link with some information on how to add smart tags to Office 2007

Thanks in advance





Re: Visual Studio Tools for Office Communication between Add in and Smart Tag in Office 2007

Kostadin Georgiev

There is no difference between the smart tag dll-s for office 2003 or 2007. You can start here:

http://msdn2.microsoft.com/en-us/library/aa140238(office.10).aspx