For Programmers: Free Programming Magazines  


Home > Archive > C# > April 2006 > smart tag library









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author smart tag library
cyrus71

2006-04-11, 12:56 am

Hi,
I follow exact what this article says about creating a smart tag library, I am using VS 2005 Pro.

http://msdn.microsoft.com/msdnmag/i...gs/default.aspx

but I have following problems and my smart tag does not appiers in Word.

1. I get this Error:
The type or namespace name 'SmartTag' does not exist in the namespace 'Microsoft.Office.Interop' (are you missing an assembly reference?)
at this row:
using Microsoft.Office.Interop.SmartTag;

I have added a reference to SmartTagLib
But i dont get this error if i use VS 2003 .net

2. I did not know exactly what i would write on SmartTagName (URN) i have read some information about it, that it must follow Office convention av namespaceURI#localname but i dont understand what it means.

3. I get this Warning:
does not contain any types that can be registered for COM Interop.
I have chosen "Register For Com Interop" on the project's property.
I have added ComVisible(true) on Assembly.
I have registered my classes (Recognizer and Action) manualy on Registery Editor under:

HKEY_CURRENT_USER\ Software \ Microsoft \ Office \ Common \Smart Tagmed GUID

But I can not see my Smart Tag , why ?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com