Share via


Registering and Enabling the Managed Registry Key [Office 2003 SDK Documentation]

If you want to use the Visual Studio Tools for Office loader to load your managed smart tag DLLs, there are some keys that you need to write into the registry. A managed smart tag DLL is registered using its fully qualified class name which is Namespace.ClassName in HKEY_CURRENT_USER\Software\Microsoft\Office\Common\Smart Tag\Recognizers\<Namespace.ClassName>

and

HKEY_CURRENT_USER\Software\Microsoft\Office\Common\Smart Tag\Actions\<Namespace.ClassName>

Under those keys, there are two values you need to write:

Managed -- A DWORD value. A data value of one (1) will enable the managed registry key, signaling that the Visual Studio Tools for Office loader should be used to load that particular assembly. If you don't want to use the Visual Studio Tools for Office loader, set the value to zero (0).

Filename -- A String value. This string value would be the path to where the managed smart tag DLL is located.

Note  You won't need to register the managed smart tag DLL for com-interop at HKEY_CLASSES_ROOT since you are using the Visual Studio Tools for Office loader.

For step by step instructions on how to write the above keys in the registry, see the Register the Visual C# Smart Tag DLL topic.