Share via


Step 5: Creating the SimpleSample XML Expansion Pack Manifest File (Visual Basic .NET Tutorial) [Office 2003 SDK Documentation]

Previous   Step 4: Compiling the SimpleSample DLL

  1. Start Notepad or another text editor.

  2. Open the ManagedManifest.xml file included in the supporting files for the SimpleSample smart document. For more information about the schema for the XML expansion pack manifest file, see the XML Expansion Pack Manifest Schema Reference.

  3. Determine the location where you will deploy the SimpleSample smart document. This may be a network share (for example, \\sharedfolder), an intranet path (for example, http://mysmartdocument), or an Internet address (for example, http://www.microsoft.com).

    You can also use a relative path. For example, if your smart document is located in the same folder as your supporting files, you can use a relative address to the file by entering only the file name into the filePath element.

    Note  The file names referenced in the ManagedManifest.xml file are relative addresses, so you can copy the file into most folders without modification. However, if you store your SimpleSample smart document on a network share or Web server, you may need to provide the absolute path to the smart document dynamic-link library (DLL) and supporting files in the filePath element.

  4. Change the value of the CLSNAME element to "SimpleSampleVB7.clsActions".

  5. Change the value of the solutionID element to a globally unique identifier (GUID) or to "SimpleSampleVB7.clsActions".

  6. Change the value of the alias element to "SimpleSmart Document Sample - VB .NET".

  7. Save the ManagedManifest.xml file.

Next   Step 6: Testing and Troubleshooting Your SimpleSample Smart Document