Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating smart tag library

Status
Not open for further replies.

cyrus71

Programmer
Feb 6, 2006
34
SE
Hi,
I follow exact what this article says about creating a smart tag library, I am using VS 2005 Pro.


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 ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top