Visual C# Tutorial: Creating a List Recognizer and Action [Office 2003 SDK Documentation]

The following tutorial will give you hands-on, step-by-step guide in how to create a smart tag recognizer and action DLL in Visual C#. It will guide you through the procedures and steps involved.

The sample code will create a single DLL to handle the recognition of smart tags and the corresponding actions. It will create a recognizer, in that finds a list of names of trees. To create and utilize a DLL, there are seven main steps involved:

  1. Set up the DLL project.

  2. Implement the recognizer interface.

  3. Implement the action interface.

  4. Compile the source code into a DLL.

  5. Register the DLL.

  6. Set Up .NET Security Policy.

  7. Test the DLL.

Visual C# 2003 is used to write and compile the DLL. Knowledge of how to use Visual C# is assumed.

Note  Before starting this tutorial, make sure you already have the Office 2003 PIAs installed. To find out more about Office 2003 PIAs, see the section on "Office 2003 Primary Interop Assemblies (PIAs)".